From 9e7c91bf83fd21a559b5658d02a1466deb4de919 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 19 Dec 2009 18:37:39 +0100 Subject: Fix up linker flags This adds LDFLAGS everywhere where they were previously pulled in via other libraries. This is however unsupported by modern linkers. You can trigger these failures by building with gold (or, I'm told, with very new ld). --- demos/Makefile.am | 4 +++- demos/gtk-demo/Makefile.am | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/Makefile.am b/demos/Makefile.am index 81e07f427a..f87b3cd8b9 100644 --- a/demos/Makefile.am +++ b/demos/Makefile.am @@ -19,7 +19,9 @@ DEPS = \ LDADDS = \ $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \ $(top_builddir)/gdk/$(gdktargetlib) \ - $(top_builddir)/gtk/$(gtktargetlib) + $(top_builddir)/gtk/$(gtktargetlib) \ + $(GTK_DEP_LIBS) \ + $(MATH_LIB) noinst_PROGRAMS = \ testpixbuf-drawable \ diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am index 792ee35971..698c242c0d 100644 --- a/demos/gtk-demo/Makefile.am +++ b/demos/gtk-demo/Makefile.am @@ -62,7 +62,8 @@ DEPS = \ LDADDS = \ $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \ $(top_builddir)/gdk/$(gdktargetlib) \ - $(top_builddir)/gtk/$(gtktargetlib) + $(top_builddir)/gtk/$(gtktargetlib) \ + $(GTK_DEP_LIBS) bin_PROGRAMS = gtk-demo -- cgit v1.2.1