From 4ee2df4b46273419553622bfc0e11d7792929359 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 27 Feb 2012 19:51:41 +0100 Subject: 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. --- curl-config.in | 4 ++-- 1 file 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 ;; -- cgit v1.2.3