]> git.ipfire.org Git - thirdparty/git.git/commitdiff
vcbuild: fix library name for expat with make MSVC=1
authorOrgad Shaneh <orgads@gmail.com>
Wed, 2 Sep 2020 20:16:38 +0000 (20:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Sep 2020 17:19:42 +0000 (10:19 -0700)
Signed-off-by: Orgad Shaneh <orgads@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/vcbuild/scripts/clink.pl

index 61ad084a7b710e3b667fe191bd06a63879e5177e..df167d1e1a542d37c794f0ed307dfdaac89092e3 100755 (executable)
@@ -66,7 +66,7 @@ while (@ARGV) {
                }
                push(@args, $lib);
        } elsif ("$arg" eq "-lexpat") {
-               push(@args, "expat.lib");
+               push(@args, "libexpat.lib");
        } elsif ("$arg" =~ /^-L/ && "$arg" ne "-LTCG") {
                $arg =~ s/^-L/-LIBPATH:/;
                push(@lflags, $arg);