[evolution-ews/gnome-3-6] Bug #690474 - Explicitly link to libm



commit 7f66b75c87c56bab07bc82a921d1034831372c7b
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date:   Tue Jan 15 22:01:55 2013 +0100

    Bug #690474 - Explicitly link to libm

 configure.ac                    |    3 +++
 src/addressbook/Makefile.am     |    1 +
 src/addressbook/lzx/Makefile.am |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b4e6ef4..faf6c74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,9 @@ AM_CONDITIONAL(OS_WIN32, [test "x$os_win32" = "xyes"])
 AC_SUBST(NO_UNDEFINED)
 AC_SUBST(SOCKET_LIBS)
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 dnl ***********************
 dnl Compiler Warning Flags
 dnl ***********************
diff --git a/src/addressbook/Makefile.am b/src/addressbook/Makefile.am
index 36d1b82..3dc6571 100644
--- a/src/addressbook/Makefile.am
+++ b/src/addressbook/Makefile.am
@@ -44,6 +44,7 @@ libebookbackendews_la_LIBADD = \
 	$(EVOLUTION_ADDRESSBOOK_LIBS) \
 	$(SQLITE3_LIBS) \
 	$(SOUP_LIBS) \
+	$(LIBM) \
 	$(NULL)
 
 libebookbackendews_la_LDFLAGS = \
diff --git a/src/addressbook/lzx/Makefile.am b/src/addressbook/lzx/Makefile.am
index d157e94..8b0871a 100644
--- a/src/addressbook/lzx/Makefile.am
+++ b/src/addressbook/lzx/Makefile.am
@@ -20,6 +20,7 @@ liblzx_la_LDFLAGS = $(NO_UNDEFINED)
 
 liblzx_la_LIBADD = \
 	$(GNOME_PLATFORM_LIBS) \
+	$(LIBM) \
 	$(NULL)
 
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]