diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 9e9378d357..2bfe4753ee 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 02ba61d76d..1038ead6b6 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 4c0743bb03..08cc18d479 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 e3b6e2504d..73233da166 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")) {