summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorHavoc Pennington <hp@src.gnome.org>2001-01-02 16:15:35 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-01-02 16:15:35 +0000
commita7aa33f14e2398f33711ae65442c19e859bd5d8c (patch)
tree07efd244b3a9d32bac01f7ce4981a765ea987fbf /configure.in
parentaac55c46644408fab68936100dd85e6cea62703f (diff)
downloadgdk-pixbuf-a7aa33f14e2398f33711ae65442c19e859bd5d8c.tar.gz
Havoc Pennington <hp@redhat.com>
* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ * gdk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@ * configure.in (LIBTOOL_EXPORT_OPTIONS): define LIBTOOL_EXPORT_OPTIONS with options to control symbol export
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e59e6e61e..7e12901f5 100644
--- a/configure.in
+++ b/configure.in
@@ -178,6 +178,11 @@ changequote([,])dnl
# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+# libtool option to control which symbols are exported
+# right now, symbols starting with _ are not exported
+LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
+AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
+
# define a MAINT-like variable REBUILD which is set if Perl
# and awk are found, so autogenerated sources can be rebuilt