summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/abicheck.sh')
-rwxr-xr-xgdk-pixbuf/abicheck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/abicheck.sh b/gdk-pixbuf/abicheck.sh
index 041677276f..5932bb84bc 100755
--- a/gdk-pixbuf/abicheck.sh
+++ b/gdk-pixbuf/abicheck.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-cpp -P gdk-pixbuf.symbols | sed -e '/^$/d' | sort > expected-abi
+cpp -P ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' | sort > expected-abi
nm -D .libs/libgdk_pixbuf-2.0.so | grep " T " | cut -c12- | sort > actual-abi
-diff -u expected-abi actual-abi
+diff -u expected-abi actual-abi && rm expected-abi actual-abi