[libsoup] build: improve symbols test



commit 7a4f2a1ae16b86b9ca7201bdcb3b44028ccc64c9
Author: Iain Lane <iain orangesquash org uk>
Date:   Wed Dec 10 16:52:19 2014 +0000

    build: improve symbols test
    
    Sometimes symbols, particularly global variables, may be placed in the
    "small objects" section.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741348

 libsoup/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 403c1c2..431c99e 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -302,8 +302,8 @@ if OS_LINUX
 check-local:
        @echo Checking libsoup-2.4.so symbols
        @nm $(builddir)/.libs/libsoup-2.4.so | \
-               grep "^[[:xdigit:]]\+ [BTR] " | \
-               sed "s/^[[:xdigit:]]\+ [BTR] //" | \
+               grep "^[[:xdigit:]]\+ [BGTRS] " | \
+               sed "s/^[[:xdigit:]]\+ [BGTRS] //" | \
                env LANG=C sort -u | \
                diff -U0 $(srcdir)/libsoup-2.4.sym - >&2
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]