diff --git a/projects/libpsl/Dockerfile b/projects/libpsl/Dockerfile index 28cd5a8c0..2801008df 100644 --- a/projects/libpsl/Dockerfile +++ b/projects/libpsl/Dockerfile @@ -22,9 +22,13 @@ RUN apt-get update && apt-get install -y \ autoconf \ automake \ libtool \ - libidn2-0-dev \ libunistring-dev \ - gtk-doc-tools + gtk-doc-tools \ + gettext gengetopt curl gperf + +RUN git clone --depth=1 https://gitlab.com/libidn/libidn2.git +RUN cd libidn2 && git submodule update --init +RUN cd libidn2 && ./bootstrap && ./configure --enable-static --disable-doc && make && make install RUN git clone --depth=1 https://github.com/rockdaboot/libpsl.git RUN cd libpsl && git submodule update --init diff --git a/projects/libpsl/build.sh b/projects/libpsl/build.sh index 78cb24d9d..9443d009d 100755 --- a/projects/libpsl/build.sh +++ b/projects/libpsl/build.sh @@ -18,8 +18,11 @@ # avoid iconv() memleak on Ubuntu 16.04 image (breaks test suite) export ASAN_OPTIONS=detect_leaks=0 +# let 'make check' survive +export LD_LIBRARY_PATH=/usr/local/lib + ./autogen.sh -./configure --enable-static --disable-gtk-doc --enable-runtime=libidn2 --enable-builtin=libidn2 +LDFLAGS="-L/usr/local/lib" ./configure --enable-static --disable-gtk-doc --enable-runtime=libidn2 --enable-builtin=libidn2 make clean make -j$(nproc) make -j$(nproc) check