diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-13 12:00:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-13 12:07:46 +0200 |
commit | a29e989a61656de3d8c4568b22577504034b3d70 (patch) | |
tree | 0de78b843bf2658f4673810db779342d5a4b24e6 | |
parent | da901fefe099708d81de6c413838ca9f1f48cbda (diff) | |
download | curl-bagder/curl-config-ignore-deplibs.tar.gz |
curl-config: ignore REQUIRE_LIB_DEPS in --libs outputbagder/curl-config-ignore-deplibs
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
-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 |