diff options
author | Dominique Leuenberger <dominique-gnomezilla@leuenberger.net> | 2012-03-08 18:12:03 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2012-03-08 18:14:00 +0000 |
commit | d8e7b7ba7b1c8fc9820eb8b346d2f52be8c74b2f (patch) | |
tree | e3fd0519b7153f0efe5d536032a3bbe7f854b3e0 | |
parent | c0695531714c3d2472e2074cea7bc7c552f0990b (diff) | |
download | libgweather-d8e7b7ba7b1c8fc9820eb8b346d2f52be8c74b2f.tar.gz |
linking with libm explicity
While building with linker flags --no-copy-dt-needed-entries (default
binutils), the linking fails, as libm is not specified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=671602
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libgweather/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 693a0b0..09d6ae6 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,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]) PKG_PROG_PKG_CONFIG([0.19]) diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am index 9ffc28a..111b395 100644 --- a/libgweather/Makefile.am +++ b/libgweather/Makefile.am @@ -72,7 +72,7 @@ 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 $(GTK_LIBS) +test_sun_moon_LDADD = libgweather-3.la $(GTK_LIBS) $(LIBM) gweather-enum-types.h: $(gweather_new_headers) $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template gweather-enum-types.h.tmpl \ |