summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-05-28 10:59:35 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-05-28 12:02:16 -0400
commit3306aa5e8d162f90c2ae957a9d72c42ac1ce62d9 (patch)
tree4f9ac65591717b5cc78b2d74726493add88439fc
parentf3a3a0594d457dcc7d11b794afe8408aee07a1ee (diff)
[src/check-def.sh] Also check for public variables (#16129)
-rwxr-xr-xsrc/check-def.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check-def.sh b/src/check-def.sh
index f399f7ed..c4003620 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -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"