mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
f45a35921a
2006-09-10 Matthias Clasen <mclasen@redhat.com> * Commit a patch by Behdad to fix typos, omissions and other errors in the symbol aliasing, and add checks for local PLT entries. (#354687, Behdad Esfahbod)
18 lines
303 B
Bash
Executable File
18 lines
303 B
Bash
Executable File
#!/bin/sh
|
|
|
|
LANG=C
|
|
|
|
status=0
|
|
|
|
if ! which readelf 2>/dev/null >/dev/null; then
|
|
echo "'readelf' not found; skipping test"
|
|
exit 0
|
|
fi
|
|
|
|
for so in .libs/lib*.so; do
|
|
echo Checking $so for local PLT entries
|
|
readelf -r $so | grep 'JU\?MP_SLOT' | grep -v 'gdk_pixbuf' | grep gdk && status=1
|
|
done
|
|
|
|
exit $status
|