]> Pileus Git - ~andy/gtk/commitdiff
Use -Bsymbolic-functions, drop g*alias PLT hackery
authorJavier Jardón <jjardon@gnome.org>
Thu, 8 Jul 2010 14:54:38 +0000 (16:54 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sat, 10 Jul 2010 00:21:31 +0000 (02:21 +0200)
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
gdk/makegdkalias.pl
gtk/Makefile.am
gtk/makegtkalias.pl

index 9e9378d357136ebaa168c578b14c036f69c0f03b..2bfe4753ee709e3e9c6fadd2da3979c3e51244ae 100644 (file)
@@ -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)                                                \
index 02ba61d76d735ecbce56137ebbd5912b5ed5f009..1038ead6b62b6db74029f46947dc6d2cce857496 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/perl -w
 
+exit 0;
+
 my $do_def = 0;
 
 if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {
index 4c0743bb030782843771020caf68133b5ec7d742..08cc18d4796ad3446bebd1b3a853a2c26f292794 100644 (file)
@@ -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)
index e3b6e2504d95fb010e436b01b31d9dc21449d830..73233da1661ae78f6aadd9171b300305f990662b 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/perl -w
 
+exit 0;
+
 my $do_def = 0;
 
 if (($#ARGV >= 0) && ($ARGV[0] eq "-def")) {