diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-13 12:00:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-14 10:22:28 +0200 |
commit | 97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed (patch) | |
tree | c5b3329d2f2ddc9cf1389efa3d1d537e05d95540 /curl-config.in | |
parent | 010fb9830b1b8503792acb59cc8b71642e2c7a9b (diff) | |
download | curl-97aca0971dbe8e1aa7c9660d1e94af3b1298d9ed.tar.gz |
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
Diffstat (limited to 'curl-config.in')
-rw-r--r-- | curl-config.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |