summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4192e1c)
raw | patch | inline | side by side (parent: 4192e1c)
author | Marius Storm-Olsen <mstormo@gmail.com> | |
Wed, 21 Oct 2009 17:04:51 +0000 (19:04 +0200) | ||
committer | Johannes Sixt <j6t@kdbg.org> | |
Fri, 23 Oct 2009 10:48:04 +0000 (12:48 +0200) |
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>
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>
Makefile | patch | blob | history | |
compat/vcbuild/scripts/clink.pl | patch | blob | history | |
contrib/buildsystems/engine.pl | patch | blob | history |
diff --git a/Makefile b/Makefile
index 6a197f3272a4efa5595ede63a8f26ad27a3a6c1c..5403fad3e86ec67c74c185ca95d77cc49ae3fa72 100644 (file)
--- a/Makefile
+++ b/Makefile
GIT_VERSION := $(GIT_VERSION).MSVC
pathsep = ;
NO_PREAD = YesPlease
- NO_OPENSSL = YesPlease
+ NEEDS_CRYPTO_WITH_SSL = YesPlease
NO_LIBGEN_H = YesPlease
NO_SYMLINK_HEAD = YesPlease
NO_IPV6 = YesPlease
index 0ffd59f9fb12e711ff415df8cf9d3be1a1c3988f..fce1e2423e4bf29d41d11059885b1f187be628df 100644 (file)
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);
index 20bd061b3e5a909fcd8dec732915c499cdac1a7b..d506717bfd304a1aaf4a02ad262ee96a0e468771 100644 (file)
$appout = shift @parts;
} elsif ("$part" eq "-lz") {
push(@libs, "zlib.lib");
+ } elsif ("$part" eq "-lcrypto") {
+ push(@libs, "libeay32.lib");
+ push(@libs, "ssleay32.lib");
} elsif ($part =~ /^-/) {
push(@lflags, $part);
} elsif ($part =~ /\.(a|lib)$/) {