mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
configure.ac: tweak nghttp2 library name fix again
- Change extraction to handle multiple library names returned by pkg-config (eg a possible scenario with pkg-config --static). Ref: https://github.com/curl/curl/pull/7472 Closes https://github.com/curl/curl/pull/7485
This commit is contained in:
parent
83245d9ff3
commit
b4b34db65f
@ -2541,7 +2541,7 @@ if test X"$want_h2" != Xno; then
|
||||
LDFLAGS="$LDFLAGS $LD_H2"
|
||||
CPPFLAGS="$CPPFLAGS $CPP_H2"
|
||||
LIBS="$LIB_H2 $LIBS"
|
||||
LIB_H2_NAME=`echo $LIB_H2 | $SED -e 's/-l//'`
|
||||
LIB_H2_NAME=`echo $LIB_H2 | $SED -ne 's/.*-l *\(nghttp2[^ ]*\).*/\1/p'`
|
||||
|
||||
# use nghttp2_session_set_local_window_size to require nghttp2
|
||||
# >= 1.12.0
|
||||
|
Loading…
Reference in New Issue
Block a user