aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/wget2
diff options
context:
space:
mode:
authorGravatar Tim Rühsen <tim.ruehsen@gmx.de>2017-09-14 15:42:51 +0200
committerGravatar Abhishek Arya <inferno@chromium.org>2017-09-14 06:42:51 -0700
commit67924a6df057ce2c07d8ecb96c08a45dab2bef66 (patch)
tree3226f8a3867c9eebf71cae99e18115dc9d72da0f /projects/wget2
parent8af0fe15502ff3d7aa25ccc0b68484c7beb89bf6 (diff)
[wget2] Add libmicrohttpd as new test suite dependency (#841)
Diffstat (limited to 'projects/wget2')
-rw-r--r--projects/wget2/Dockerfile1
-rwxr-xr-xprojects/wget2/build.sh7
2 files changed, 8 insertions, 0 deletions
diff --git a/projects/wget2/Dockerfile b/projects/wget2/Dockerfile
index 85b8c18d..8dbe425e 100644
--- a/projects/wget2/Dockerfile
+++ b/projects/wget2/Dockerfile
@@ -42,6 +42,7 @@ RUN git clone --depth=1 --recursive https://gitlab.com/libidn/libidn2.git
RUN git clone --depth=1 --recursive https://github.com/rockdaboot/libpsl.git
RUN git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git
RUN git clone --depth=1 https://gitlab.com/gnutls/gnutls.git
+RUN git clone --depth=1 --recursive https://gnunet.org/git/libmicrohttpd.git
RUN git clone --depth=1 --recursive https://gitlab.com/gnuwget/wget2.git
diff --git a/projects/wget2/build.sh b/projects/wget2/build.sh
index 9e8f8031..9cf2fca1 100755
--- a/projects/wget2/build.sh
+++ b/projects/wget2/build.sh
@@ -71,6 +71,13 @@ CFLAGS="$GNUTLS_CFLAGS" \
make -j$(nproc)
make install
+cd $SRC/libmicrohttpd
+./bootstrap
+LIBS="-lgnutls -lnettle -lhogweed -lidn2 -lunistring" \
+./configure --prefix=$WGET2_DEPS_PATH --disable-doc --disable-examples --disable-shared --enable-static
+make -j$(nproc)
+make install
+
# avoid iconv() memleak on Ubuntu 16.04 image (breaks test suite)
export ASAN_OPTIONS=detect_leaks=0