summaryrefslogtreecommitdiff
path: root/gdk/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/abicheck.sh')
-rwxr-xr-xgdk/abicheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/abicheck.sh b/gdk/abicheck.sh
new file mode 100755
index 0000000000..c0a7e33ee9
--- /dev/null
+++ b/gdk/abicheck.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+cpp -P -DGDK_WINDOWING_X11 gdk.symbols | sed -e '/^$/d' | sort > expected-abi
+nm -D .libs/libgdk-x11-2.0.so | grep " T " | cut -c12- | sort > actual-abi
+diff -u expected-abi actual-abi