[libgweather] Fix linking with gcc-4.5



commit 44cbbfff660151e2706039e293b360adc6df1c01
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Tue Nov 30 08:29:24 2010 +0100

    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=636105

 libgweather/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
index 61d259a..fa823f3 100644
--- a/libgweather/Makefile.am
+++ b/libgweather/Makefile.am
@@ -65,14 +65,14 @@ libgweather_3_la_LDFLAGS = \
 
 test_metar_SOURCES = test_metar.c
 test_metar_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSOUP_CFLAGS)
-test_metar_LDADD = libgweather-3.la
+test_metar_LDADD = libgweather-3.la $(GTK_LIBS)
 
 test_locations_SOURCES = test_locations.c
-test_locations_LDADD = libgweather-3.la
+test_locations_LDADD = libgweather-3.la $(GTK_LIBS)
 
 test_sun_moon_SOURCES = test_sun_moon.c
 test_sun_moon_CPPFLAGS = $(AM_CPPFLAGS) $(LIBSOUP_CFLAGS)
-test_sun_moon_LDADD = libgweather-3.la
+test_sun_moon_LDADD = libgweather-3.la $(GTK_LIBS)
 
 gweather-enum-types.h: $(gweather_new_headers)
 	$(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template gweather-enum-types.h.tmpl \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]