X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/7341eedbaf526ef2f0986b576c656906050e270a..dc15fe8ace017fdef39202474c1563c1ae0ae67a:/sysroot.sh diff --git a/sysroot.sh b/sysroot.sh index 6699c2b..2681c0d 100755 --- a/sysroot.sh +++ b/sysroot.sh @@ -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