diff options
author | James Knight <james.d.knight@live.com> | 2018-11-03 05:12:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-05 10:19:25 +0900 |
commit | 23c4bbe28e61974577164db09cbd1d1c7e568ca4 (patch) | |
tree | 9669d56595c17501d83735e1b9043c88b12e7053 /sha1dc | |
parent | Eighth batch for 2.20 (diff) | |
download | tgif-23c4bbe28e61974577164db09cbd1d1c7e568ca4.tar.xz |
build: link with curl-defined linker flags
Adjusting the build process to rely more on curl-config to populate
linker flags instead of manually populating flags based off detected
features.
Originally, a configure-invoked build would check for SSL-support in the
target curl library. If enabled, NEEDS_SSL_WITH_CURL would be set and
used in the Makefile to append additional libraries to link against. As
for systems building solely with make, the defines NEEDS_IDN_WITH_CURL
and NEEDS_SSL_WITH_CURL could be set to indirectly enable respective
linker flags. Since both configure.ac and Makefile already rely on
curl-config utility to provide curl-related build information, adjusting
the respective assets to populate required linker flags using the
utility (unless explicitly configured).
Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1dc')
0 files changed, 0 insertions, 0 deletions