[evolution-ews] Bug #690474 - Explicitly link to libm
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug #690474 - Explicitly link to libm
- Date: Tue, 15 Jan 2013 21:01:31 +0000 (UTC)
commit 23dfb30e372e841ab73ba008f45260526b936181
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date: Tue Jan 15 22:01:08 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 8cb8e9e..6949a80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,6 +72,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 261fb5e..6ba6d83 100644
--- a/src/addressbook/Makefile.am
+++ b/src/addressbook/Makefile.am
@@ -42,6 +42,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]