contrib/buildsystems: handle libiconv, too

Git's test suite shows tons of breakages unless Git is compiled *without* NO_ICONV. That means, in turn, that we need to generate build definitions *with* libiconv, which in turn implies that we have to handle the -liconv option properly. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Jul 29, 2019 at 13:08 UTC 1a537ecfbb9640744b6e8e523e13abf4e2641a3d
1 file changed +2
contrib/buildsystems/engine.pl
+2
@@ -347,6 +347,8 @@ sub handleLinkLine
347 push(@libs, "ssleay32.lib");
348 } elsif ("$part" eq "-lcurl") {
349 push(@libs, "libcurl.lib");
350 + } elsif ("$part" eq "-liconv") {
351 + push(@libs, "libiconv.lib");
352 } elsif ($part =~ /^-/) {
353 push(@lflags, $part);
354 } elsif ($part =~ /\.(a|lib)$/) {