summaryrefslogtreecommitdiff
path: root/gobject/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/abicheck.sh')
-rwxr-xr-xgobject/abicheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh
index 0e1d4e6cd..74391cdea 100755
--- a/gobject/abicheck.sh
+++ b/gobject/abicheck.sh
@@ -8,6 +8,6 @@ INCLUDES="$INCLUDES -include glibconfig.cpp"
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 " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
+nm -D -g --defined-only .libs/libgobject-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi