summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-07-29 20:08:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-29 21:51:43 (GMT)
commit6e500217f99ee6c3a314cb15766aa5dce99f55ca (patch)
tree98ab48793d7a14dbb9fd38fb8a6c6eafb92dd5fa /contrib
parent1a537ecfbb9640744b6e8e523e13abf4e2641a3d (diff)
downloadgit-6e500217f99ee6c3a314cb15766aa5dce99f55ca.zip
git-6e500217f99ee6c3a314cb15766aa5dce99f55ca.tar.gz
git-6e500217f99ee6c3a314cb15766aa5dce99f55ca.tar.bz2
contrib/buildsystems: also handle -lexpat
This is a dependency required for the non-smart HTTP backend. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/buildsystems/engine.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/buildsystems/engine.pl b/contrib/buildsystems/engine.pl
index c35844a..9bde7ae 100755
--- a/contrib/buildsystems/engine.pl
+++ b/contrib/buildsystems/engine.pl
@@ -347,6 +347,8 @@ sub handleLinkLine
push(@libs, "ssleay32.lib");
} elsif ("$part" eq "-lcurl") {
push(@libs, "libcurl.lib");
+ } elsif ("$part" eq "-lexpat") {
+ push(@libs, "expat.lib");
} elsif ("$part" eq "-liconv") {
push(@libs, "libiconv.lib");
} elsif ($part =~ /^-/) {