mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
Fix the script name (build-iphone.sh -> build-ios.sh)
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
PLATFORM_IOS=/Developer/Platforms/iPhoneOS.platform/
|
||||
PLATFORM_IOS_SIM=/Developer/Platforms/iPhoneSimulator.platform/
|
||||
SDK_IOS_VERSION="4.1"
|
||||
|
||||
mkdir -p "build-ios"
|
||||
pushd "build-ios"
|
||||
export CC="${PLATFORM_IOS}"/Developer/usr/bin/gcc-4.2
|
||||
export CFLAGS="-arch armv6 -isysroot ${PLATFORM_IOS}/Developer/SDKs/iPhoneOS${SDK_IOS_VERSION}.sdk/"
|
||||
../configure --host=arm-apple-darwin10 && make
|
||||
popd
|
||||
Reference in New Issue
Block a user