From: Daniel Stenberg Date: Thu, 13 Aug 2020 10:00:31 +0000 (+0200) Subject: curl-config: ignore REQUIRE_LIB_DEPS in --libs output X-Git-Tag: curl-7_72_0~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed;p=thirdparty%2Fcurl.git curl-config: ignore REQUIRE_LIB_DEPS in --libs output Fixes a curl-config issue on cygwin by making sure REQUIRE_LIB_DEPS is not considered for the --libs output. Reported-by: ramsay-jones on github Assisted-by: Brian Inglis and Ken Brown Fixes #5793 Closes #5808 --- diff --git a/curl-config.in b/curl-config.in index 25ce8ba178..18b1fc1e6b 100644 --- a/curl-config.in +++ b/curl-config.in @@ -160,7 +160,7 @@ while test $# -gt 0; do else CURLLIBDIR="" fi - if test "X@ENABLE_SHARED@" = "Xno" -o "X@REQUIRE_LIB_DEPS@" = "Xyes"; then + if test "X@ENABLE_SHARED@" = "Xno"; then echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ else echo ${CURLLIBDIR}-lcurl