From 7dfc585faa08cf5a1d4c2149c694e6403602fdff Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 20 Dec 2014 17:52:51 +0100 Subject: Fix linking with gcc-4.5 gcc-4.5 has a stricter linking behaviour which now requires us to specify needed libraries directly instead of relying on transitive private dependencies. Taken from libgweather commit: 44cbbfff660151e2706039e293b360adc6df1c01 From: Martin Pitt Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=636105 --- libmateweather/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmateweather/Makefile.am b/libmateweather/Makefile.am index 8e7d07f..5bfab60 100644 --- a/libmateweather/Makefile.am +++ b/libmateweather/Makefile.am @@ -65,14 +65,14 @@ libmateweather_la_LDFLAGS = \ test_metar_SOURCES = test_metar.c test_metar_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSOUP_CFLAGS) -test_metar_LDADD = libmateweather.la +test_metar_LDADD = libmateweather.la $(GTK_LIBS) test_locations_SOURCES = test_locations.c -test_locations_LDADD = libmateweather.la +test_locations_LDADD = libmateweather.la $(GTK_LIBS) test_sun_moon_SOURCES = test_sun_moon.c test_sun_moon_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSOUP_CFLAGS) -test_sun_moon_LDADD = libmateweather.la +test_sun_moon_LDADD = libmateweather.la $(GTK_LIBS) mateweather-enum-types.h: $(mateweather_new_headers) $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template mateweather-enum-types.h.tmpl \ -- cgit v1.2.1