summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-02-05 03:02:20 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-02-05 03:02:20 +0000
commit1adf109e5dc26e8107b9f080db8d4869431fb81b (patch)
tree1039deb0a4a02977c7c536a3387ce8ac270082d4 /gobject
parentd2c401d55a60891b9c4ed0bde1cc113653c78e82 (diff)
Define a HAVE_GNUC_VISIBILITY automake conditional.
2005-02-04 Matthias Clasen <mclasen@redhat.com> * configure.in: Define a HAVE_GNUC_VISIBILITY automake conditional. * glib/Makefile.am (TESTS): Only check the abi if the compiler supports visibility, otherwise we know there will be (harmless) extra symbols. (#166181, Ed Avis)
Diffstat (limited to 'gobject')
-rw-r--r--gobject/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index 33b2ed567..18223318e 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -20,8 +20,10 @@ gobjectalias.h: gobject.symbols
$(PERL) $(srcdir)/makegobjectalias.pl < $(srcdir)/gobject.symbols > gobjectalias.h
if OS_LINUX
+if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif
+endif
libglib = $(top_builddir)/glib/libglib-2.0.la