diff options
author | infirit <[email protected]> | 2014-12-20 17:52:51 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-25 10:43:31 +0200 |
commit | 7dfc585faa08cf5a1d4c2149c694e6403602fdff (patch) | |
tree | 5d8c2e5421be29515dd1aa252b6652300067060e | |
parent | d66bd8983c68d2fd6301ae9ba083b0fdad9d5bc6 (diff) | |
download | libmateweather-7dfc585faa08cf5a1d4c2149c694e6403602fdff.tar.bz2 libmateweather-7dfc585faa08cf5a1d4c2149c694e6403602fdff.tar.xz |
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 <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=636105
-rw-r--r-- | libmateweather/Makefile.am | 6 |
1 files 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 \ |