[libchamplain/libchamplain-0-10] build: link against libm
- From: JiÅÃ Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-10] build: link against libm
- Date: Fri, 2 Sep 2011 23:08:22 +0000 (UTC)
commit 7cfe135aba3eabc9694e13517c0e02f562ed98e8
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Tue Aug 30 21:40:22 2011 +0200
build: link against libm
https://bugzilla.gnome.org/show_bug.cgi?id=657760
champlain/Makefile.am | 2 +-
configure.ac | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/champlain/Makefile.am b/champlain/Makefile.am
index afa941c..a4b55a6 100644
--- a/champlain/Makefile.am
+++ b/champlain/Makefile.am
@@ -131,7 +131,7 @@ nodist_libchamplain_ CHAMPLAIN_API_VERSION@_la_SOURCES = \
$(libchamplain_headers_built) \
$(libchamplain_sources_built)
-libchamplain_ CHAMPLAIN_API_VERSION@_la_LIBADD = $(DEPS_LIBS) $(SOUP_LIBS) $(MEMPHIS_LIBS)
+libchamplain_ CHAMPLAIN_API_VERSION@_la_LIBADD = $(DEPS_LIBS) $(SOUP_LIBS) $(MEMPHIS_LIBS) $(LIBM)
libchamplain_ CHAMPLAIN_API_VERSION@_la_LDFLAGS = \
-version-info $(LIBRARY_VERSION)\
diff --git a/configure.ac b/configure.ac
index 5a8f3f8..b64984a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,9 @@ AC_SUBST(LIBRARY_VERSION)
# Checks for libraries.
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
PKG_CHECK_MODULES(DEPS,
[ glib-2.0 >= 2.16
gobject-2.0 >= 2.10
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]