Permalink
Browse files

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.
  • Loading branch information...
1 parent 4d71d1b commit 4ee2df4b46273419553622bfc0e11d7792929359 @falconindy falconindy committed with bagder Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 curl-config.in
View
@@ -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
;;

0 comments on commit 4ee2df4

Please sign in to comment.