diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-06 23:24:07 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-06 23:24:07 +0200 |
commit | a70af803be4c8abe4833864e1b5bc7103a590ad4 (patch) | |
tree | 845bfac46bd9c8094248cdae8057792b56160232 /tools/apbuild/buildlist | |
parent | 72fe56200de7a61594c0d1f77074ca3dae95008b (diff) |
fixed tools/apbuild/buildlist to work on modern systems with multulib; flac/ogg static link WIP
Diffstat (limited to 'tools/apbuild/buildlist')
-rwxr-xr-x | tools/apbuild/buildlist | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/apbuild/buildlist b/tools/apbuild/buildlist index 24e789fd..be6443c2 100755 --- a/tools/apbuild/buildlist +++ b/tools/apbuild/buildlist @@ -5,7 +5,9 @@ if [ -e syms ]; then rm syms; fi if [ -e allsym ]; then rm allsym; fi -for f in /lib/*; do + +host=`gcc -v 2>&1 | grep 'Target:' | sed 's/Target: //'` +for f in /lib/* /lib/$host/*; do if [ ! -f $f ]; then continue; fi readelf -s --wide $f >>syms objdump -T $f | grep "GLIBC_" | sed 's/\(.*\)GLIBC_//; s/)//' | grep -v PRIVATE | column -t >>allsym |