From 043e30006254b050f5a5628bfaa84a0abf888e7a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 18 Feb 2019 21:55:19 -0800 Subject: [PATCH] Improve compatibility across different Cydia eras. --- control | 2 +- sysroot.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.47.1