summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2012-02-27 19:51:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-03-08 20:55:03 +0100
commit4ee2df4b46273419553622bfc0e11d7792929359 (patch)
treec458c3b9c31d062e691b290dea3a0327286970ef /curl-config.in
parent4d71d1b17f8179b386c933827cad408da368999a (diff)
downloadcurl-4ee2df4b46273419553622bfc0e11d7792929359.tar.gz
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.
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/curl-config.in b/curl-config.in
index 150004d77..3d02a0337 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -142,9 +142,9 @@ while test $# -gt 0; do
CURLLIBDIR=""
fi
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
+ echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ @LIBS@
else
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
+ echo ${CURLLIBDIR}-lcurl @LIBS@
fi
;;