summaryrefslogtreecommitdiff
path: root/libmateweather/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-20 19:15:28 +0100
committerinfirit <[email protected]>2015-08-25 10:49:43 +0200
commit1c22c2b0b6a7232766a09a76e8f9fa1278a656b3 (patch)
tree132d3def2d2546a96bf036ee208ca6d89dee44d6 /libmateweather/Makefile.am
parent18efcc4269e1d5a364a66a3fe1c8a511b14862ee (diff)
downloadlibmateweather-1c22c2b0b6a7232766a09a76e8f9fa1278a656b3.tar.bz2
libmateweather-1c22c2b0b6a7232766a09a76e8f9fa1278a656b3.tar.xz
Linking with libm explicity
While building with linker flags --no-copy-dt-needed-entries (default binutils), the linking fails, as libm is not specified. Taken from libgweather commit: d8e7b7ba7b1c8fc9820eb8b346d2f52be8c74b2f From: Dominique Leuenberger <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=671602
Diffstat (limited to 'libmateweather/Makefile.am')
-rw-r--r--libmateweather/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmateweather/Makefile.am b/libmateweather/Makefile.am
index 5bfab60..b626bcf 100644
--- a/libmateweather/Makefile.am
+++ b/libmateweather/Makefile.am
@@ -72,7 +72,7 @@ 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 $(GTK_LIBS)
+test_sun_moon_LDADD = libmateweather.la $(GTK_LIBS) $(LIBM)
mateweather-enum-types.h: $(mateweather_new_headers)
$(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template mateweather-enum-types.h.tmpl \