1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00

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
This commit is contained in:
Daniel Stenberg 2020-08-13 12:00:31 +02:00
parent 010fb9830b
commit 97aca0971d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -160,7 +160,7 @@ while test $# -gt 0; do
else else
CURLLIBDIR="" CURLLIBDIR=""
fi 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@ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
else else
echo ${CURLLIBDIR}-lcurl echo ${CURLLIBDIR}-lcurl