mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
Fixed the problem of curl-config --libs specifying unneeded libraries
dependencies to applications.
This commit is contained in:
parent
7033a1c072
commit
9de4e5ebe4
2 changed files with 15 additions and 2 deletions
|
|
@ -181,8 +181,12 @@ while test $# -gt 0; do
|
|||
;;
|
||||
|
||||
--libs)
|
||||
echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@
|
||||
;;
|
||||
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
|
||||
echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@
|
||||
else
|
||||
echo -L@libdir@ -lcurl @LDFLAGS@
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "unknown option: $1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue