summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--libmateweather/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 583a7cc..44979bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,7 @@ LIBXML_REQUIRED=2.6.0
LT_PREREQ([2.2.6])
LT_INIT([dlopen win32-dll disable-static])
+LT_LIB_M
IT_PROG_INTLTOOL([0.40.6])
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 \