From 1c22c2b0b6a7232766a09a76e8f9fa1278a656b3 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 20 Dec 2014 19:15:28 +0100 Subject: 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 Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=671602 --- libmateweather/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmateweather') 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 \ -- cgit v1.2.1