summaryrefslogtreecommitdiff
path: root/src/check-def.sh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-06-19 17:43:52 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-06-19 17:43:52 -0400
commit9388cc71db8d6e019061f289c0a72ebaa3432c8c (patch)
treed00cbaf148d14654a9176464eae31ee37132b970 /src/check-def.sh
parentaef25b83450e3e17bedce2ffbae58f7b326e0f61 (diff)
[src/check-def.sh] Make sure no global variables are named cairo_*
Even if they are marked cairo_private.
Diffstat (limited to 'src/check-def.sh')
-rwxr-xr-xsrc/check-def.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-def.sh b/src/check-def.sh
index 04880e1b..9fd2bafb 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -21,7 +21,7 @@ fi
get_cairo_syms='nm "$so" | grep " [BCDGINRSTVW] " | cut -d" " -f3'
if [ "`uname -s`" = "Linux" ]; then
- get_cairo_syms='objdump -t "$so" | grep "^[^ ]* [^l.*]*[.]" | sed "s/.* //"'
+ get_cairo_syms='( objdump -t "$so" | grep "^[^ ]* [^l.*]*[.]"; objdump -t "$so" | grep "[.]hidden.*\\<cairo"; ) | sed "s/.* //"'
fi
defs="cairo.def"