[gtk+] Use -Bsymbolic-functions, drop g*alias PLT hackery
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use -Bsymbolic-functions, drop g*alias PLT hackery
- Date: Sat, 10 Jul 2010 00:55:22 +0000 (UTC)
commit 7cabad6b77df866b59b8b98b8c8efaa6e89fd590
Author: Javier Jardón <jjardon gnome org>
Date: Thu Jul 8 16:54:38 2010 +0200
Use -Bsymbolic-functions, drop g*alias PLT hackery
This is a minimal patch-out of the galias functionality.
Based on a Glib pach by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
gdk/Makefile.am | 1 +
gdk/makegdkalias.pl | 2 ++
gtk/Makefile.am | 1 +
gtk/makegtkalias.pl | 2 ++
4 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 9e9378d..2bfe475 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -50,6 +50,7 @@ endif
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
LDADD = \
+ $(GTK_LINK_FLAGS) \
-version-info $(LT_VERSION_INFO) \
-export-dynamic \
-rpath $(libdir) \
diff --git a/gdk/makegdkalias.pl b/gdk/makegdkalias.pl
index 02ba61d..1038ead 100755
--- a/gdk/makegdkalias.pl
+++ b/gdk/makegdkalias.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl -w
+exit 0;
+
my $do_def = 0;
if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 4c0743b..08cc18d 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -129,6 +129,7 @@ deps =
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
libtool_opts = \
+ $(GTK_LINK_FLAGS) \
-version-info $(LT_VERSION_INFO) \
-export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS) \
-rpath $(libdir) $(libgtk_target_ldflags)
diff --git a/gtk/makegtkalias.pl b/gtk/makegtkalias.pl
index e3b6e25..73233da 100755
--- a/gtk/makegtkalias.pl
+++ b/gtk/makegtkalias.pl
@@ -1,5 +1,7 @@
#!/usr/bin/perl -w
+exit 0;
+
my $do_def = 0;
if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]