[epiphany/wip/ephy-sync: 16/48] ephy-sync: Fix the build with libhogweed and libgmp
- From: Gabriel - Cristian Ivascu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/ephy-sync: 16/48] ephy-sync: Fix the build with libhogweed and libgmp
- Date: Sat, 20 Aug 2016 17:04:42 +0000 (UTC)
commit 090fbc6d8cb3a1f14f11ba0b1aa535ca4c1f89b5
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date: Wed Jul 20 21:53:48 2016 +0300
ephy-sync: Fix the build with libhogweed and libgmp
configure.ac | 6 ++++--
lib/Makefile.am | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 40c22ab..c3264ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,8 +82,9 @@ LIBNOTIFY_REQUIRED=0.5.1
GCR_REQUIRED=3.5.5
AVAHI_REQUIRED=0.6.22
GVDB_REQUIRED="glib-2.0 >= $GLIB_REQUIRED"
-NETTLE_REQUIRED=3.2
JSON_GLIB_MIN_VERSION=0.14
+NETTLE_REQUIRED=3.2
+HOGWEED_REQUIRED=3.2
# Tests
@@ -116,8 +117,9 @@ PKG_CHECK_MODULES([DEPENDENCIES], [
gcr-3 >= $GCR_REQUIRED
avahi-gobject >= $AVAHI_REQUIRED
avahi-client >= $AVAHI_REQUIRED
- nettle >= NETTLE_REQUIRED
json-glib-1.0 >= $JSON_GLIB_MIN_VERSION
+ nettle >= $NETTLE_REQUIRED
+ hogweed >= $HOGWEED_REQUIRED
])
# Check requirements for gvdb
diff --git a/lib/Makefile.am b/lib/Makefile.am
index b130c16..7bc1a9c 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -83,8 +83,10 @@ libephymisc_la_CFLAGS = \
$(CODE_COVERAGE_CFLAGS) \
$(AM_CFLAGS)
+# FIXME: This is not right. We should find another way to link libgmp.
libephymisc_la_LIBADD = \
-lm \
+ -lgmp \
$(CODE_COVERAGE_LDFLAGS) \
$(DEPENDENCIES_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]