summaryrefslogtreecommitdiff
path: root/arch/iphoneos-arm/strip
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-12 16:47:06 -1000
committerSam Bingner <sam@bingner.com>2018-10-12 16:47:06 -1000
commit24f6d59354df69788c96f26e8c046a50c383c886 (patch)
treeed2343230d45a634b15398dfa7a7e2c67a960aba /arch/iphoneos-arm/strip
parent330f4f07f97d829f6337de5b20efb19e58bab319 (diff)
Build environment changes
Diffstat (limited to 'arch/iphoneos-arm/strip')
-rw-r--r--arch/iphoneos-arm/strip19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/iphoneos-arm/strip b/arch/iphoneos-arm/strip
deleted file mode 100644
index 5eb943311..000000000
--- a/arch/iphoneos-arm/strip
+++ /dev/null
@@ -1,19 +0,0 @@
-find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) -print0 | while read -r -d $'\0' bin; do
- case "$(file "${bin}")" in (\
- *': Mach-O fat file with '*([0-9])' architecture' |\
- *': '?(setuid )?(setgid )'Mach-O executable acorn' |\
- *': Mach-O dynamically linked shared library acorn' |\
- *': Mach-O bundle acorn'\
- );; (*) continue;; esac
-
- if arm-apple-darwin9-otool -hv "${bin}" | grep DYLIB_STUB &>/dev/null; then
- continue; fi
- if grep $'\xfa\xde\x0c\x01' "${bin}" &>/dev/null; then
- continue; fi
-
- perms=$(stat --format=%a "${bin}")
- chmod 755 "${bin}"
- "${PKG_BASE}/util/ldid" -S "${bin}"
- #"${PKG_BASE}/arch/iphoneos-arm/entitlement.xml" "${bin}"
- chmod "${perms}" "${bin}"
-done