Re: [PATCH 1/2] Makefile: use curl-config to determine curl flags

2014-04-15 Thread Junio C Hamano
Dave Borowitz writes: > My end goal is to statically link git on Mac OS X (10.9) against a > newer version of libcurl than ships with the OS. The normal CURLDIR > approach should work with system libcurl: > > $ /usr/bin/curl-config --libs > -lcurl > > But it gets a bit more complicated with a rec

Re: [PATCH 1/2] Makefile: use curl-config to determine curl flags

2014-04-15 Thread Dave Borowitz
On Mon, Apr 14, 2014 at 4:22 PM, Junio C Hamano wrote: > Dave Borowitz writes: > >> curl-config should always be installed alongside a curl distribution, >> and its purpose is to provide flags for building against libcurl, so >> use it instead of guessing flags and dependent libraries. >> >> Allo

Re: [PATCH 1/2] Makefile: use curl-config to determine curl flags

2014-04-14 Thread Junio C Hamano
Dave Borowitz writes: > curl-config should always be installed alongside a curl distribution, > and its purpose is to provide flags for building against libcurl, so > use it instead of guessing flags and dependent libraries. > > Allow overriding CURL_CONFIG to a custom path to curl-config, to > c

[PATCH 1/2] Makefile: use curl-config to determine curl flags

2014-04-12 Thread Dave Borowitz
curl-config should always be installed alongside a curl distribution, and its purpose is to provide flags for building against libcurl, so use it instead of guessing flags and dependent libraries. Allow overriding CURL_CONFIG to a custom path to curl-config, to compile against a curl installation