]> git.saurik.com Git - cycript.git/blobdiff - apple-configure.sh
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / apple-configure.sh
index aa67a94b45833e4b26dfb102a6de48f1bff5050c..f22fc0b5e794d06ed7b48532009ef1622adf87be 100755 (executable)
@@ -107,6 +107,9 @@ for arch in armv6 armv7 armv7s arm64; do
         ldf+=" -L../sysroot.ios/usr/lib"
     fi
 
+    ldf+=" -Wl,-dead_strip"
+    ldf+=" -Wl,-no_dead_strip_inits_and_terms"
+
     if [[ ${arch} == arm64 ]]; then
         min=7.0
     else