5 if which readelf
2>/dev
/null
>/dev
/null
; then
8 echo "'readelf' not found; skipping test"
12 test -z "$srcdir" && srcdir
=.
13 test -z "$MAKE" && MAKE
=make
16 $MAKE check-has-hidden-symbols.i
> /dev
/null ||
exit 1
17 if tail -1 check-has-hidden-symbols.i |
grep CAIRO_HAS_HIDDEN_SYMBOLS
>/dev
/null
; then
18 echo "Compiler doesn't support symbol visibility; skipping test"
22 for so
in .libs
/lib
*.so
; do
23 echo Checking
"$so" for local PLT entries
24 readelf
-W -r "$so" |
grep 'JU\?MP_SLO' |
grep 'cairo' >&2 && stat
=1