Merge branch 'mr/msvc-link-with-lcurl'
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Mar 2014 23:31:07 +0000 (16:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Mar 2014 23:31:07 +0000 (16:31 -0700)
* mr/msvc-link-with-lcurl:
MSVC: allow linking with the cURL library

compat/vcbuild/scripts/clink.pl
config.mak.uname
index 4374771df202ed3c9d96439ec4695ccd55998167..a87d0da512e095ad261bef868a866a7e6f5e3bef 100755 (executable)
@@ -33,6 +33,8 @@
                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);
index 6069a4435008e02b5043927e11439aabf64c3e2d..cfc2a9323f40c0eeb0843d36e217df2888c2d024 100644 (file)
@@ -340,7 +340,6 @@ ifeq ($(uname_S),Windows)
        UNRELIABLE_FSTAT = UnfortunatelyYes
        OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
        NO_REGEX = YesPlease
-       NO_CURL = YesPlease
        NO_GETTEXT = YesPlease
        NO_PYTHON = YesPlease
        BLK_SHA1 = YesPlease