contrib/buildsystems: handle the curl library option
authorPhilip Oakley <redacted>
Mon, 29 Jul 2019 20:08:09 +0000 (13:08 -0700)
committerJunio C Hamano <redacted>
Mon, 29 Jul 2019 21:51:42 +0000 (14:51 -0700)
Upon seeing the '-lcurl' option, point to the libcurl.lib.

While there, fix the elsif indentation.

Signed-off-by: Philip Oakley <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/buildsystems/engine.pl

index 1a12f4d5563260a67062033296fe81c7b5e743f9..d61327759578f30ec42b94f7c29a068b8d7ac4b5 100755 (executable)
@@ -341,10 +341,12 @@ sub handleLinkLine
             $appout = shift @parts;
         } elsif ("$part" eq "-lz") {
             push(@libs, "zlib.lib");
-       } elsif ("$part" eq "-lcrypto") {
+        } elsif ("$part" eq "-lcrypto") {
             push(@libs, "libeay32.lib");
         } elsif ("$part" eq "-lssl") {
             push(@libs, "ssleay32.lib");
+        } elsif ("$part" eq "-lcurl") {
+            push(@libs, "libcurl.lib");
         } elsif ($part =~ /^-/) {
             push(@lflags, $part);
         } elsif ($part =~ /\.(a|lib)$/) {
git clone https://git.99rst.org/PROJECT