summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-45
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--configure.in17
6 files changed, 42 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aa1d681f..28dad9a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Strip out the "export-dynamic" libtool
+ option from library link lines. (#124687, James Henstridge)
+
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index aa1d681f..28dad9a0 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Strip out the "export-dynamic" libtool
+ option from library link lines. (#124687, James Henstridge)
+
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index aa1d681f..28dad9a0 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,8 @@
+Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Strip out the "export-dynamic" libtool
+ option from library link lines. (#124687, James Henstridge)
+
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index aa1d681f..28dad9a0 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Strip out the "export-dynamic" libtool
+ option from library link lines. (#124687, James Henstridge)
+
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index aa1d681f..28dad9a0 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Strip out the "export-dynamic" libtool
+ option from library link lines. (#124687, James Henstridge)
+
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
diff --git a/configure.in b/configure.in
index 16f322f1..29b38d7a 100644
--- a/configure.in
+++ b/configure.in
@@ -294,6 +294,23 @@ GLIB_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0 gthread-2.0`
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
+################################################################
+# Strip -export-dynamic from the link line
+################################################################
+
+#
+# pkg-config --libs gmodule includes the "export_dynamic" flag,
+# but this flag is only meaningful for executables. For libraries
+# the effect is undefined; what it causes on Linux is that the
+# export list from -export-symbols-regex is ignored and everything
+# is exported
+#
+export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+if test -n "$export_dynamic"; then
+ GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
+fi
+
+
#
# The OpenType test programs aren't particularly portable
#