mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
configure: without pkg-config and no custom path, use -lnghttp2
Reported-by: correctmost on github Fixes #11186 Closes #11210
This commit is contained in:
parent
64dedb45b5
commit
814d3ffe74
1 changed files with 2 additions and 0 deletions
|
|
@ -2819,6 +2819,8 @@ if test X"$want_nghttp2" != Xno; then
|
|||
dnl no nghttp2 pkg-config found and no custom directory specified,
|
||||
dnl deal with it
|
||||
AC_MSG_ERROR([--with-nghttp2 was specified but could not find libnghttp2 pkg-config file.])
|
||||
else
|
||||
LIB_H2="-lnghttp2"
|
||||
fi
|
||||
|
||||
LDFLAGS="$LDFLAGS $LD_H2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue