From 97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 13 Aug 2020 12:00:31 +0200 Subject: 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 --- curl-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'curl-config.in') diff --git a/curl-config.in b/curl-config.in index 25ce8ba17..18b1fc1e6 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 -- cgit v1.2.1