[epiphany/wip/ephy-sync: 54/126] Fix the build with libhogweed and libgmp



commit a3c384ad155e5845c4ca0d8aa148cdfa684a6cdf
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Wed Jul 20 21:53:48 2016 +0300

    Fix the build with libhogweed and libgmp

 configure.ac    |    6 ++++--
 lib/Makefile.am |    1 +
 2 files changed, 5 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..619ce1f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -85,6 +85,7 @@ libephymisc_la_CFLAGS = \
 
 libephymisc_la_LIBADD = \
        -lm \
+       -lgmp \
        $(CODE_COVERAGE_LDFLAGS) \
        $(DEPENDENCIES_LIBS)
 


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