diff options
author | Dave Borowitz <dborowitz@google.com> | 2014-04-28 14:01:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-28 14:29:14 -0700 |
commit | f3f11fa6a5cee5a90b3ca6a66a25a2beff6996a7 (patch) | |
tree | 7854cc60356ff86ea2ede183de6e7a9a8ceb329b /perl | |
parent | d5067112db68fcc8c7b13c769c896b17480cb5b0 (diff) | |
download | git-f3f11fa6a5cee5a90b3ca6a66a25a2beff6996a7.tar.gz |
Makefile: default to -lcurl when no CURL_CONFIG or CURLDIRdb/make-with-curl
The original implementation of CURL_CONFIG support did not match the
original behavior of using -lcurl when CURLDIR was not set. This broke
implementations that were lacking curl-config but did have libcurl
installed along system libraries, such as MSysGit. In other words, the
assumption that curl-config is always installed was incorrect.
Instead, if CURL_CONFIG is empty or returns an empty result (e.g. due
to curl-config being missing), use the old behavior of falling back to
-lcurl.
Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions