MSVC: allow linking with the cURL library
Teach the clink.pl script that -lcurl is a request to link with the cURL library, and drop NO_CURL from config.mak.uname for the MSVC platform. Signed-off-by: Marat Radchenko <marat@slonopotamus.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Marat Radchenko committed
Mar 27, 2014 at 11:34 UTC
da8daa367b7dfe4337252810f6be0c0c31aa93c2
2 files changed
+2
-1
compat/vcbuild/scripts/clink.pl
+2
@@ -33,6 +33,8 @@ while (@ARGV) {
33
push(@args, "libeay32.lib");
34
} elsif ("$arg" eq "-lssl") {
35
push(@args, "ssleay32.lib");
36
+ } elsif ("$arg" eq "-lcurl") {
37
+ push(@args, "libcurl.lib");
38
} elsif ("$arg" =~ /^-L/ && "$arg" ne "-LTCG") {
39
$arg =~ s/^-L/-LIBPATH:/;
40
push(@args, $arg);
config.mak.uname
-1
@@ -345,7 +345,6 @@ ifeq ($(uname_S),Windows)
345
UNRELIABLE_FSTAT = UnfortunatelyYes
346
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
347
NO_REGEX = YesPlease
348
- NO_CURL = YesPlease
348
NO_GETTEXT = YesPlease
349
NO_PYTHON = YesPlease
350
BLK_SHA1 = YesPlease