[gnome-documents] link libgdprivate against libm (uses floor(3))
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] link libgdprivate against libm (uses floor(3))
- Date: Sat, 10 Dec 2011 09:47:11 +0000 (UTC)
commit 97409d31e776f9aa951b99bef94bd0c731568c15
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Fri Dec 9 14:31:19 2011 +0100
link libgdprivate against libm (uses floor(3))
https://bugzilla.gnome.org/show_bug.cgi?id=665869
configure.ac | 3 +++
src/Makefile-lib.am | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9565105..6f8cbb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,9 @@ AC_SUBST(GJS_CONSOLE)
GLIB_GSETTINGS
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
EVINCE_MIN_VERSION=3.3.0
GLIB_MIN_VERSION=2.31.0
GTK_MIN_VERSION=3.3.3
diff --git a/src/Makefile-lib.am b/src/Makefile-lib.am
index 9012e88..f7234e4 100644
--- a/src/Makefile-lib.am
+++ b/src/Makefile-lib.am
@@ -38,7 +38,8 @@ gdprivate_source_c = \
lib_LTLIBRARIES += libgdprivate-1.0.la
libgdprivate_1_0_la_LIBADD = \
- $(DOCUMENTS_LIBS)
+ $(DOCUMENTS_LIBS) \
+ $(LIBM)
libgdprivate_1_0_la_CPPFLAGS = \
$(gdprivate_cflags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]