]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-config: ignore REQUIRE_LIB_DEPS in --libs output
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Aug 2020 10:00:31 +0000 (12:00 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Aug 2020 08:22:28 +0000 (10:22 +0200)
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

index 25ce8ba178d26917917f91825b4e7023d87724ab..18b1fc1e6b81bcb9961ec90740bf36638201a088 100644 (file)
@@ -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