Skip to content

use `curl-config --cflags`

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: avoid running curl-config multiple timesMakefile+3 -40 replies
2/2Makefile: use curl-config --cflagsMakefile+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] use `curl-config --cflags`

I was recently testing Git's behavior with respect to various versions of libcurl. So I built a one-off libcurl and installed it in /tmp/foo, but was surprised that:

make CURL_CONFIG=/tmp/foo/bin/curl-config

didn't work, since we do run "$(CURL_CONFIG) --libs". This fixes it, along with a minor optimization to the existing "--libs" call.

[1/2]: Makefile: avoid running curl-config multiple times [2/2]: Makefile: use curl-config --cflags

 Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

-Peff