Skip to content

Commit 9103a75

Browse files
Philip Oakleygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6669746 commit 9103a75

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/buildsystems/engine.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,12 @@ sub handleLinkLine
341341
$appout = shift @parts;
342342
} elsif ("$part" eq "-lz") {
343343
push(@libs, "zlib.lib");
344-
} elsif ("$part" eq "-lcrypto") {
344+
} elsif ("$part" eq "-lcrypto") {
345345
push(@libs, "libeay32.lib");
346346
} elsif ("$part" eq "-lssl") {
347347
push(@libs, "ssleay32.lib");
348+
} elsif ("$part" eq "-lcurl") {
349+
push(@libs, "libcurl.lib");
348350
} elsif ($part =~ /^-/) {
349351
push(@lflags, $part);
350352
} elsif ($part =~ /\.(a|lib)$/) {

0 commit comments

Comments
 (0)