summaryrefslogtreecommitdiff
path: root/gobject/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/abicheck.sh')
-rwxr-xr-xgobject/abicheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh
new file mode 100755
index 000000000..9d497329a
--- /dev/null
+++ b/gobject/abicheck.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+cpp -P -DG_OS_UNIX -DINCLUDE_INTERNAL_SYMBOLS ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' | sort > expected-abi
+nm -D .libs/libgobject-2.0.so | grep " T " | cut -c12- | sort > actual-abi
+diff -u expected-abi actual-abi && rm expected-abi actual-abi