diff options
author | Dave Borowitz <dborowitz@google.com> | 2014-04-15 03:40:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-15 13:01:49 -0700 |
commit | 61a64fff4f710f43826c8446d3fd8f3ae78c0411 (patch) | |
tree | 4924308edb5dbb436780aa17cb9b4231c4c11fc4 /Documentation/RelNotes/1.5.0.txt | |
parent | Sync with 1.9.2 (diff) | |
download | tgif-61a64fff4f710f43826c8446d3fd8f3ae78c0411.tar.xz |
Makefile: use curl-config to determine curl flags
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 other than the first in PATH.
Depending on the set of features curl is compiled with, there may be
more libraries required than the previous two options of -lssl and
-lidn. For example, with a vanilla build of libcurl-7.36.0 on Mac OS X
10.9:
$ ~/d/curl-out-7.36.0/lib/curl-config --libs
-L/Users/dborowitz/d/curl-out-7.36.0/lib -lcurl -lgssapi_krb5 -lresolv -lldap -lz
Use this only when CURLDIR is not explicitly specified, to continue
supporting older builds.
Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.5.0.txt')
0 files changed, 0 insertions, 0 deletions