]> git.saurik.com Git - cycript.git/commitdiff
Use -Wl,dead_strip to cut a little readline cruft.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 1 Aug 2016 04:41:01 +0000 (21:41 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 1 Aug 2016 04:41:01 +0000 (21:41 -0700)
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