mirror of
https://github.com/curl/curl.git
synced 2026-07-02 23:27:18 +03:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue