]> git.saurik.com Git - cycript.git/blobdiff - sysroot.sh
Manually unify CYLocal<CYPool>::key_ into Library.
[cycript.git] / sysroot.sh
index bada4bf915257598d48ab4f036517fddf0af2f9f..387d16ffa5b36f5b8caac904a031db94ea552268 100755 (executable)
@@ -24,7 +24,7 @@ set -e
 rm -rf sysroot.ios
 mkdir -p sysroot.ios
 
-for deb in apr-lib_1.3.3-2 libffi_1:3.0.10-5 ncurses_5.7-12 readline_6.0-7; do
+for deb in ncurses_5.7-12 readline_6.0-7; do
     deb=${deb}_iphoneos-arm.deb
     [[ -f "${deb}" ]] || wget http://apt.saurik.com/debs/"${deb}"
     tar=data.tar.lzma
@@ -33,5 +33,5 @@ for deb in apr-lib_1.3.3-2 libffi_1:3.0.10-5 ncurses_5.7-12 readline_6.0-7; do
     rm -f "${tar}"
 done
 
-mkdir -p sysroot.ios/usr/include/ffi
-mv -v sysroot.ios/usr/include/{,ffi/}ffi.h
+mv sysroot.ios/usr/lib/_ncurses/* sysroot.ios/usr/lib
+rmdir sysroot.ios/usr/lib/_ncurses