summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-25 15:31:00 +0200
committerErich Eckner <git@eckner.net>2018-04-25 15:31:00 +0200
commit98082a53d27bdc880b47ada00c9300f3094e18fc (patch)
tree0c19638cceea89282ca876a0870219fedb6b28c2 /bin/build-packages
parentd65b3fe76adfad2c1db5285bf6fe35aee0f777f2 (diff)
downloadbuilder-98082a53d27bdc880b47ada00c9300f3094e18fc.tar.xz
bin/build-packages: do not consider link dependencies of 64 bit stuff
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index e9ac0c4..c109feb 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -466,6 +466,9 @@ while [ "${count}" -ne 0 ]; do
find "${package_content_dir}/${pkgfile##*/}" \
-name 'opt' -prune , \
-exec objdump -x '{}' \; 2>/dev/null | \
+ sed '
+ / i386:x86-64, /,/ i386:x86-32, / d
+ ' | \
grep -w 'NEEDED' | \
awk '{print $2}' | \
sed '