]> git.saurik.com Git - cycript.git/blobdiff - sysroot.sh
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / sysroot.sh
index 6699c2b7ad881b98f5eed4f32bccf73fcd306795..2681c0d7dd982151a4ff9496b925146c65b737e5 100755 (executable)
@@ -35,3 +35,7 @@ done
 
 mv sysroot.ios/usr/lib/_ncurses/* sysroot.ios/usr/lib
 rmdir sysroot.ios/usr/lib/_ncurses
+
+for h in jni.h jni_md.h; do
+    ln -s /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"${h}" sysroot.ios/usr/include
+done