From: Bernhard Walle Date: Thu, 27 Jan 2022 17:40:28 +0000 (+0100) Subject: configure: set CURL_LIBRARY_PATH for nghttp2 X-Git-Tag: curl-7_82_0~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac555645302140480829472fc867cdcbc788ecf5;p=thirdparty%2Fcurl.git configure: set CURL_LIBRARY_PATH for nghttp2 To execute the test program, we might need the library path so that the lib is found at runtime. Closes #8340 --- diff --git a/configure.ac b/configure.ac index ff139882c3..4708fd56bb 100644 --- a/configure.ac +++ b/configure.ac @@ -2577,6 +2577,11 @@ if test X"$want_nghttp2" != Xno; then NGHTTP2_ENABLED=1 AC_DEFINE(USE_NGHTTP2, 1, [if nghttp2 is in use]) AC_SUBST(USE_NGHTTP2, [1]) + + DIR_H2=`echo $LD_H2 | $SED -e 's/^-L//'` + CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$DIR_H2" + export CURL_LIBRARY_PATH + AC_MSG_NOTICE([Added $DIR_H2 to CURL_LIBRARY_PATH]) ) ], dnl not found, revert back to clean variables