From 043e30006254b050f5a5628bfaa84a0abf888e7a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 18 Feb 2019 21:55:19 -0800 Subject: Improve compatibility across different Cydia eras. --- sysroot.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysroot.sh') diff --git a/sysroot.sh b/sysroot.sh index 5991701..e595621 100755 --- a/sysroot.sh +++ b/sysroot.sh @@ -21,3 +21,11 @@ merge libssl1.0_1.0.2q-1_iphoneos-arm.deb merge libssl-dev_1.0.2q-1_iphoneos-arm.deb merge libplist_2.0.0-1_iphoneos-arm.deb popd + +for lib in libplist libcrypto; do + for dylib in sysroot*/usr/lib/"${lib}".*.dylib; do + echo install_name_tool -id /usr/lib/"${lib}".dylib "${dylib}" + chmod 755 "${dylib}" + install_name_tool -id /usr/lib/"${lib}".dylib "${dylib}" + done +done -- cgit v1.2.3-56-ge451