1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl-config: only provide libraries with --libs

In line with the manpage, curl-config --libs should only provide the necessary
library flags for the linker in order to compile software with libcurl. Also
with this change, we match what the pkg-config file provides.
This commit is contained in:
Dave Reisner 2012-02-27 19:51:41 +01:00 committed by Daniel Stenberg
parent 4d71d1b17f
commit 4ee2df4b46

View File

@ -142,9 +142,9 @@ while test $# -gt 0; do
CURLLIBDIR="" CURLLIBDIR=""
fi fi
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@
else else
echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@ echo ${CURLLIBDIR}-lcurl @LIBS@
fi fi
;; ;;