forked from AuroraMiddleware/gtk
524ce69bcb
At the same time, change the library sonames for -3.0 to just -3. This is necessary since the 2.99 releases installed libraries like libgtk-3.0.so.0.9903.0, and we want to prevent the library version number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
6 lines
316 B
Bash
Executable File
6 lines
316 B
Bash
Executable File
#! /bin/sh
|
|
|
|
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.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
|