From: Daniel Stenberg Date: Fri, 26 May 2023 08:03:51 +0000 (+0200) Subject: configure: without pkg-config and no custom path, use -lnghttp2 X-Git-Tag: curl-8_1_2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=814d3ffe74123dd5d103406c965793a4a491112d;p=thirdparty%2Fcurl.git configure: without pkg-config and no custom path, use -lnghttp2 Reported-by: correctmost on github Fixes #11186 Closes #11210 --- diff --git a/configure.ac b/configure.ac index 0f316d0bb8..b358f9a1fa 100644 --- a/configure.ac +++ b/configure.ac @@ -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"