From: Jay Freeman (saurik) Date: Mon, 23 May 2011 09:07:33 +0000 (+0000) Subject: Add plt abstraction for ios.sh. X-Git-Tag: v0.9.449~2 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/6927ece0b3a00d568f2aba6c4bbee714114dca19?ds=sidebyside Add plt abstraction for ios.sh. --- diff --git a/ios.sh b/ios.sh index 0bcbd49..66d611f 100755 --- a/ios.sh +++ b/ios.sh @@ -15,8 +15,9 @@ done mkdir -p sysroot.ios/usr/include/ffi mv -v sysroot.ios/usr/include/{,ffi/}ffi.h -dev=/Developer/Platforms/iPhoneOS.platform/Developer -sdk=${dev}/SDKs/iPhoneOS4.3.sdk +plt=iPhoneOS +dev=/Developer/Platforms/$plt.platform/Developer +sdk=${dev}/SDKs/$plt4.3.sdk ln -s /System/Library/Frameworks/WebKit.framework/Versions/A/Headers sysroot.ios/usr/include/WebKit