diff options
author | Marius Storm-Olsen <mstormo@gmail.com> | 2009-10-21 19:04:51 +0200 |
---|---|---|
committer | Johannes Sixt <j6t@kdbg.org> | 2009-10-23 12:48:04 +0200 |
commit | c36e16385be363a11abaa4a43edd5a2b2b2dff81 (patch) | |
tree | 0ccfb71de3758e08e3bde992f1cffcdee89c673e /compat/vcbuild | |
parent | mingw: enable OpenSSL (diff) | |
download | tgif-c36e16385be363a11abaa4a43edd5a2b2b2dff81.tar.xz |
MSVC: Enable OpenSSL, and translate -lcrypto
We don't use crypto, but rather require libeay32 and
ssleay32. handle it in both the Makefile msvc linker
script, and the buildsystem generator.
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/vcbuild')
-rw-r--r-- | compat/vcbuild/scripts/clink.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/vcbuild/scripts/clink.pl b/compat/vcbuild/scripts/clink.pl index 0ffd59f9fb..fce1e2423e 100644 --- a/compat/vcbuild/scripts/clink.pl +++ b/compat/vcbuild/scripts/clink.pl @@ -29,6 +29,9 @@ while (@ARGV) { push(@args, "zlib.lib"); } elsif ("$arg" eq "-liconv") { push(@args, "iconv.lib"); + } elsif ("$arg" eq "-lcrypto") { + push(@args, "libeay32.lib"); + push(@args, "ssleay32.lib"); } elsif ("$arg" =~ /^-L/ && "$arg" ne "-LTCG") { $arg =~ s/^-L/-LIBPATH:/; push(@args, $arg); |