check-def.sh: Only allow _cairo_.*_test_.* symbols, not all _cairo.* ones

This commit is contained in:
Behdad Esfahbod 2006-09-19 13:05:29 -04:00
parent ae355453d8
commit 42a0c6bd59

View file

@ -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