summaryrefslogtreecommitdiff
path: root/autodeps.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-04-09 22:52:37 -1000
committerSam Bingner <sam@bingner.com>2019-04-09 23:20:44 -1000
commit25aaaa676ae4b0508ca6b35a65ce36fcc3c0b898 (patch)
tree8f511fb2b1a773f7b60c0da9e4271254fe24943a /autodeps.sh
parent758eebce2bb5a38964722747286d0a6280ffdf6b (diff)
Update build system files
Diffstat (limited to 'autodeps.sh')
-rw-r--r--autodeps.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/autodeps.sh b/autodeps.sh
index 3402c96b4..6347d4bf1 100644
--- a/autodeps.sh
+++ b/autodeps.sh
@@ -1,10 +1,5 @@
#!/bin/bash
export PATH=${PKG_BASE}/util:$PATH
-DEPSDIR="${PKG_STAT}"/deps
-if [ ! -d "${DEPSDIR}" ]; then
- mkdir "${DEPSDIR}"
-fi
-rm -f "${PKG_STAT}"/dest-deps || true
declare -a PKG_DPKG_DEPS
declare -a PKG_MISSING_DEPS
for dep in "${PKG_DEPS[@]}"; do
@@ -27,7 +22,7 @@ declare -a deps
deps=($(find -L "${PKG_DATA}"/_metadata -name '*.dep' | sed -e 's/^.*\///' -e 's/\.dep$//' | sort -u))
#echo Current Depends: $(IFS=','; echo "${PKG_DPKG_DEPS[*]}" | sed -e 's/,/, /g')
-for bin in $(find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) -print0); do
+for bin in $(find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \)); do
case "$(file "${bin}")" in (\
*': Mach-O fat file with '*([0-9])' architecture' |\
*': '*(setuid |setgid )'Mach-O 64-bit executable arm64' |\