mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 09:18:11 +02:00
[src/check-def.sh] Also check for public variables (#16129)
This commit is contained in:
parent
f3a3a0594d
commit
3306aa5e8d
1 changed files with 2 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ if tail -1 check-has-hidden-symbols.i | grep CAIRO_HAS_HIDDEN_SYMBOLS >/dev/null
|
|||
exit 0
|
||||
fi
|
||||
|
||||
get_cairo_syms='nm "$so" | grep " T " | cut -d" " -f3'
|
||||
get_cairo_syms='nm "$so" | grep " [BCDGINRSTVW] " | cut -d" " -f3'
|
||||
if [ "`uname -s`" = "Linux" ]; then
|
||||
get_cairo_syms='objdump -t "$so" | sed -n "/.*g *F *\.\(opd\|text\).* \(.*cairo_.*\)$/s//\2/p"'
|
||||
get_cairo_syms='objdump -t "$so" | grep "^[^ ]* [^l.*]*[.]" | sed "s/.* //"'
|
||||
fi
|
||||
|
||||
defs="cairo.def"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue