Fix gdk/abicheck.sh temporarily

The best fix for now is to just hardcode the X11 backend again
This commit is contained in:
Matthias Clasen 2011-01-04 23:40:41 -05:00
parent c4f0bbb130
commit 5c1502479a

View File

@ -1,5 +1,5 @@
#! /bin/sh
cpp -P -DGDK_ENABLE_BROKEN -include ../config.h ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
cpp -P -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D -g --defined-only .libs/libgdk-3.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi