Skip to content

Commit 9b8f810

Browse files
Philip Oakleydscho
Philip Oakley
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]>
1 parent b836446 commit 9b8f810

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
@@ -339,10 +339,12 @@ sub handleLinkLine
339339
$appout = shift @parts;
340340
} elsif ("$part" eq "-lz") {
341341
push(@libs, "zlib.lib");
342-
} elsif ("$part" eq "-lcrypto") {
342+
} elsif ("$part" eq "-lcrypto") {
343343
push(@libs, "libeay32.lib");
344344
} elsif ("$part" eq "-lssl") {
345345
push(@libs, "ssleay32.lib");
346+
} elsif ("$part" eq "-lcurl") {
347+
push(@libs, "libcurl.lib");
346348
} elsif ($part =~ /^-/) {
347349
push(@lflags, $part);
348350
} elsif ($part =~ /\.(a|lib)$/) {

0 commit comments

Comments
 (0)