summaryrefslogtreecommitdiff
path: root/gobject/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/abicheck.sh')
-rwxr-xr-xgobject/abicheck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh
index 53aaa5d43..0e1d4e6cd 100755
--- a/gobject/abicheck.sh
+++ b/gobject/abicheck.sh
@@ -5,9 +5,9 @@ egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
-cpp -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
+cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
-nm -D .libs/libgobject-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
+nm -D .libs/libgobject-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi