From: Jay Freeman (saurik) Date: Mon, 1 Aug 2016 04:41:01 +0000 (-0700) Subject: Use -Wl,dead_strip to cut a little readline cruft. X-Git-Tag: v0.9.593~3 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/cf1d39e2a2e0400495734e302614d30933bf0aeb Use -Wl,dead_strip to cut a little readline cruft. --- diff --git a/apple-configure.sh b/apple-configure.sh index aa67a94..f22fc0b 100755 --- a/apple-configure.sh +++ b/apple-configure.sh @@ -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