From 8a84ecb43c77073801dc09c9ccd5d5f229cbd80c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 23 Nov 2011 12:09:08 +0000 Subject: [PATCH 1/1] Port to iOS 5.0 SDK. --- GNUmakefile.in | 2 +- ios.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index fb3037c..01a0f0e 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -186,7 +186,7 @@ Mach/Inject.lo: Trampoline.t.hpp Baton.hpp $(libtool) --mode=compile $(cxx) $(cflags) -c -o $@ $< -fno-stack-protector -fno-exceptions %.t.hpp: %.t.lo trampoline.sh - $(srcdir)/trampoline.sh $@ .libs/lib$*.t.$(dll) $* $(sed) $(otool) $(lipo) $(nm) $(libtool) --mode=link $(cxx) $(ldflags) -o lib$*.t.la $< -rpath $(libdir) + $(srcdir)/trampoline.sh $@ .libs/lib$*.t.$(dll) $* $(sed) $(otool) $(lipo) $(nm) $(libtool) --mode=link $(cxx) $(ldflags) -o lib$*.t.la $< -rpath $(libdir) -Xcompiler -nostdlib endif endif diff --git a/ios.sh b/ios.sh index 66d611f..6f82571 100755 --- a/ios.sh +++ b/ios.sh @@ -16,8 +16,8 @@ mkdir -p sysroot.ios/usr/include/ffi mv -v sysroot.ios/usr/include/{,ffi/}ffi.h plt=iPhoneOS -dev=/Developer/Platforms/$plt.platform/Developer -sdk=${dev}/SDKs/$plt4.3.sdk +dev=/Developer/Platforms/${plt}.platform/Developer +sdk=${dev}/SDKs/${plt}5.0.sdk ln -s /System/Library/Frameworks/WebKit.framework/Versions/A/Headers sysroot.ios/usr/include/WebKit -- 2.45.2