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