summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-21 13:32:33 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-22 16:00:27 +0100
commitb371d267f84b3e8ab13359195f90b78b0ae9d132 (patch)
tree90058ecd1f958988314ad652547247116d417783 /scripts
parent8335c6417ea21bdfc340f0cb8cab5dbc97b10a2e (diff)
downloadcurl-b371d267f84b3e8ab13359195f90b78b0ae9d132.tar.gz
travis: build ngtcp2 --with-gnutls
... since they disable it by default since a few days back. Closes #6506 Fixes #6493
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis/before_script.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index b22340211..7ef9fb3a1 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -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