]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: build ngtcp2 --with-gnutls
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 Jan 2021 12:32:33 +0000 (13:32 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Jan 2021 15:00:27 +0000 (16:00 +0100)
... since they disable it by default since a few days back.

Closes #6506
Fixes #6493

scripts/travis/before_script.sh

index b22340211e52759761bb19a96f2dcd87ebf77aac..7ef9fb3a113ff6e5879f7b39010e25aabbe22a4a 100755 (executable)
@@ -62,7 +62,10 @@ if [ "$NGTCP2" = yes ]; then
   git clone --depth 1 https://github.com/ngtcp2/ngtcp2
   cd ngtcp2
   autoreconf -i
-  ./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --prefix=$HOME/ngbuild --enable-lib-only
+  if test -n "$GNUTLS"; then
+      WITHGNUTLS="--with-gnutls"
+  fi
+  ./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --prefix=$HOME/ngbuild --enable-lib-only $WITHGNUTLS
   make
   make install
 fi