diff options
Diffstat (limited to 'arch/iphoneos-arm64/strip')
-rw-r--r-- | arch/iphoneos-arm64/strip | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/iphoneos-arm64/strip b/arch/iphoneos-arm64/strip deleted file mode 100644 index c4801ca85..000000000 --- a/arch/iphoneos-arm64/strip +++ /dev/null @@ -1,18 +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 arm64-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"${PKG_BASE}/arch/iphoneos-arm/entitlement.xml" "${bin}" - chmod "${perms}" "${bin}" -done |