mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
18 lines
299 B
Bash
18 lines
299 B
Bash
|
#!/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/libgdk_pixbuf*.so; do
|
||
|
echo Checking $so for local PLT entries
|
||
|
readelf -r $so | grep 'JU\?MP_SLOT' | grep 'gdk_pixbuf' && status=1
|
||
|
done
|
||
|
|
||
|
exit $status
|