mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
1864918b3b
Sun Nov 28 13:21:12 2004 Manish Singh <yosh@gimp.org> * abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.
6 lines
281 B
Bash
Executable File
6 lines
281 B
Bash
Executable File
#! /bin/sh
|
|
|
|
cpp -P -DG_OS_UNIX ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
|
|
nm -D .libs/libgobject-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
|
|
diff -u expected-abi actual-abi && rm expected-abi actual-abi
|