summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-31 23:31:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-31 23:31:07 (GMT)
commit8456113de56a1d1407703b1d4d8e789a54b987c9 (patch)
treebf6c06a82a62d420c1ad1d0ab2c0b5dc8888a07b /compat
parent24b9cb100214adb0c5ebe574924c3acf6c61f214 (diff)
parentda8daa367b7dfe4337252810f6be0c0c31aa93c2 (diff)
downloadgit-8456113de56a1d1407703b1d4d8e789a54b987c9.zip
git-8456113de56a1d1407703b1d4d8e789a54b987c9.tar.gz
git-8456113de56a1d1407703b1d4d8e789a54b987c9.tar.bz2
Merge branch 'mr/msvc-link-with-lcurl'
* mr/msvc-link-with-lcurl: MSVC: allow linking with the cURL library
Diffstat (limited to 'compat')
-rwxr-xr-xcompat/vcbuild/scripts/clink.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/vcbuild/scripts/clink.pl b/compat/vcbuild/scripts/clink.pl
index 4374771..a87d0da 100755
--- a/compat/vcbuild/scripts/clink.pl
+++ b/compat/vcbuild/scripts/clink.pl
@@ -33,6 +33,8 @@ while (@ARGV) {
push(@args, "libeay32.lib");
} elsif ("$arg" eq "-lssl") {
push(@args, "ssleay32.lib");
+ } elsif ("$arg" eq "-lcurl") {
+ push(@args, "libcurl.lib");
} elsif ("$arg" =~ /^-L/ && "$arg" ne "-LTCG") {
$arg =~ s/^-L/-LIBPATH:/;
push(@args, $arg);