X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c1d3e52e58e86c49f9d04e06ae8e0ece4b98250c..0c172698f8957c8238cd9915ca09eb8a2b68db97:/sysroot.sh diff --git a/sysroot.sh b/sysroot.sh index 6b80e7d..2681c0d 100755 --- a/sysroot.sh +++ b/sysroot.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -# Cycript - Optimizing JavaScript Compiler/Runtime -# Copyright (C) 2009-2015 Jay Freeman (saurik) +# Cycript - The Truly Universal Scripting Language +# Copyright (C) 2009-2016 Jay Freeman (saurik) # GNU Affero General Public License, Version 3 {{{ # @@ -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