From be1ff233526cc90d36eb13fdee690cf508baeb7a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 27 Mar 2015 12:27:36 +0100 Subject: [PATCH] Add dependency on libcurl-dev http://hydra.nixos.org/eval/1179370 --- configure.ac | 4 ++++ release.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 756b2f227..1d4b7d3b8 100644 --- a/configure.ac +++ b/configure.ac @@ -206,6 +206,10 @@ AC_CHECK_HEADERS([bzlib.h], [true], PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.6.19], [CXXFLAGS="$SQLITE3_CFLAGS $CXXFLAGS"]) +# Look for libcurl, a required dependency. +PKG_CHECK_MODULES([LIBCURL], [libcurl], [CXXFLAGS="$LIBCURL_CFLAGS $CXXFLAGS"]) + + # Look for libsodium, an optional dependency. PKG_CHECK_MODULES([SODIUM], [libsodium], [AC_DEFINE([HAVE_SODIUM], [1], [Whether to use libsodium for cryptography.]) diff --git a/release.nix b/release.nix index de539958c..048fa8886 100644 --- a/release.nix +++ b/release.nix @@ -273,7 +273,7 @@ let src = jobs.tarball; diskImage = (diskImageFun vmTools.diskImageFuns) { extraPackages = - [ "perl-DBD-SQLite" "perl-devel" "sqlite" "sqlite-devel" "bzip2-devel" "emacs" "perl-WWW-Curl" ] + [ "perl-DBD-SQLite" "perl-devel" "sqlite" "sqlite-devel" "bzip2-devel" "emacs" "perl-WWW-Curl" "libcurl-devel" ] ++ extraPackages; }; memSize = 1024; meta.schedulingPriority = 50; @@ -293,7 +293,7 @@ let name = "nix-deb"; src = jobs.tarball; diskImage = (diskImageFun vmTools.diskImageFuns) - { extraPackages = [ "libdbd-sqlite3-perl" "libsqlite3-dev" "libbz2-dev" "libwww-curl-perl" ]; }; + { extraPackages = [ "libdbd-sqlite3-perl" "libsqlite3-dev" "libbz2-dev" "libwww-curl-perl" "libcurl-dev" ]; }; memSize = 1024; meta.schedulingPriority = 50; configureFlags = "--sysconfdir=/etc";