]> git.cameronkatri.com Git - ldid.git/blobdiff - sysroot.sh
The comment says to use a nullbuf, so let's do it!
[ldid.git] / sysroot.sh
index 599170102e36a1df2682126a0d2c950bee3f8968..e595621d8fbf5b8869221806f12de6c7343ed0b3 100755 (executable)
@@ -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