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
This commit is contained in:
parent
598b142f6d
commit
ac55564530
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user