From: Jay Freeman (saurik) Date: Tue, 19 Feb 2019 05:55:19 +0000 (-0800) Subject: Improve compatibility across different Cydia eras. X-Git-Tag: v2.1.0~1 X-Git-Url: https://git.cameronkatri.com/ldid.git/commitdiff_plain/043e30006254b050f5a5628bfaa84a0abf888e7a?ds=inline Improve compatibility across different Cydia eras. --- diff --git a/control b/control index 5ef6018..73136be 100644 --- a/control +++ b/control @@ -8,5 +8,5 @@ Description: pseudo-codesign Mach-O files Name: Link Identity Editor Author: Jay Freeman (saurik) Depiction: http://cydia.saurik.com/info/ldid/ -Depends: libplist +Depends: libplist (>= 2.0.0), openssl Tag: purpose::console, role::developer 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