source: trunk/darwin-x86-headers/addressbook/C/populate.sh @ 15629

Last change on this file since 15629 was 15629, checked in by gb, 7 years ago

Build from 10.8 headers.

  • Property svn:executable set to *
File size: 384 bytes
Line 
1#!/bin/sh
2rm -rf System Developer usr
3SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
4if [ $# -eq 1 ]
5then
6SDK=$1
7fi
8CFLAGS="-m32 -msse2 -Wno-multichar -isysroot ${SDK} -mmacosx-version-min=10.8" ; export CFLAGS
9rm -rf System Developer usr
10h-to-ffi.sh ${SDK}/System/Library/Frameworks/AddressBook.framework/Headers/AddressBook.h
Note: See TracBrowser for help on using the repository browser.