mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 11:38:16 +02:00
check-def.sh: Only allow _cairo_.*_test_.* symbols, not all _cairo.* ones
This commit is contained in:
parent
ae355453d8
commit
42a0c6bd59
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ for def in $defs; do
|
|||
|
||||
{
|
||||
echo EXPORTS
|
||||
nm $so | grep ' T ' | cut -d' ' -f3 | grep -v '^_cairo\|^_fini\|^_init' | sort -u
|
||||
nm $so | grep ' T ' | cut -d' ' -f3 | grep -v '^_cairo.*_test_\|^_fini\|^_init' | sort -u
|
||||
# cheat: copy the last line from the def file!
|
||||
tail -n1 $def
|
||||
} | diff $def - || status=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue