source: trunk/darwin-x86-headers64/jni/C/populate.sh

Last change on this file was 15562, checked in by rme, 7 years ago

Darwin x8664 headers build from 10.8 SDK, as found in Xcode 4.5.2.
With any luck, this won't break everything far and wide.

File size: 313 bytes
Line 
1#!/bin/sh
2rm -rf Applications
3SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
4if [ $# -eq 1 ]
5then
6SDK=$1
7fi
8CFLAGS="-m64 -isysroot ${SDK} -mmacosx-version-min=10.6"; export CFLAGS
9h-to-ffi.sh ${SDK}/System/Library/Frameworks/JavaVM.framework/Headers/jni.h
10
Note: See TracBrowser for help on using the repository browser.