contrib/buildsystems: handle the curl library option
Upon seeing the '-lcurl' option, point to the libcurl.lib. While there, fix the elsif indentation. Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philip Oakley committed
Jul 29, 2019 at 13:08 UTC
9103a75c584dd6edddfcb3004974a1bb48d9214c
1 file changed
+3
-1
contrib/buildsystems/engine.pl
+3
-1
@@ -341,10 +341,12 @@ sub handleLinkLine
341
$appout = shift @parts;
342
} elsif ("$part" eq "-lz") {
343
push(@libs, "zlib.lib");
344
- } elsif ("$part" eq "-lcrypto") {
344
+ } elsif ("$part" eq "-lcrypto") {
345
push(@libs, "libeay32.lib");
346
} elsif ("$part" eq "-lssl") {
347
push(@libs, "ssleay32.lib");
348
+ } elsif ("$part" eq "-lcurl") {
349
+ push(@libs, "libcurl.lib");
350
} elsif ($part =~ /^-/) {
351
push(@lflags, $part);
352
} elsif ($part =~ /\.(a|lib)$/) {