]> Pileus Git - ~andy/gtk/commitdiff
Strip out the "export-dynamic" libtool option from library link lines.
authorOwen Taylor <otaylor@redhat.com>
Wed, 3 Mar 2004 21:26:31 +0000 (21:26 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 3 Mar 2004 21:26:31 +0000 (21:26 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index 82cace02e0a0eb9ab9d505ab51f94225c57fd9b8..d92ae9c3ab8adbbf10a61c9dab64d49e38cc8129 100644 (file)
--- 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)
+
 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
index 82cace02e0a0eb9ab9d505ab51f94225c57fd9b8..d92ae9c3ab8adbbf10a61c9dab64d49e38cc8129 100644 (file)
@@ -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)
+
 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
index 82cace02e0a0eb9ab9d505ab51f94225c57fd9b8..d92ae9c3ab8adbbf10a61c9dab64d49e38cc8129 100644 (file)
@@ -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)
+
 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
index 82cace02e0a0eb9ab9d505ab51f94225c57fd9b8..d92ae9c3ab8adbbf10a61c9dab64d49e38cc8129 100644 (file)
@@ -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)
+
 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
index 82cace02e0a0eb9ab9d505ab51f94225c57fd9b8..d92ae9c3ab8adbbf10a61c9dab64d49e38cc8129 100644 (file)
@@ -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)
+
 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
 
        * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
index 2c4e8f08233f73a075377638af193debd26af508..922c6fb1962cadc6ed41df51a83004479ab114c0 100644 (file)
@@ -1418,6 +1418,26 @@ AC_SUBST(GTK_DEP_CFLAGS)
 AC_SUBST(GTK_DEBUG_FLAGS)
 AC_SUBST(GTK_XIM_FLAGS)
 
+################################################################
+# Strip -export-dynamic from the link lines of various libraries
+################################################################
+
+#
+# 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
+  GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
+  GDK_PIXBUF_XLIB_DEP_LIBS=`echo $GDK_PIXBUF_XLIB_DEP_LIBS | sed -e "s/$export_dynamic//"`
+  GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
+  GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
+fi
+
+
 ##################################################
 # Checks for gtk-doc and docbook-tools
 ##################################################