git: Fix build when curl is compiled with zstd.

This commit is contained in:
Dylan Araps 2020-10-01 07:52:04 +03:00
parent 66b4e68212
commit 165d755e33
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -23,7 +23,7 @@ EOF
ac_cv_snprintf_returns_bogus=no \
ac_cv_fread_reads_directories=yes
make LIBS='-lcurl -lssl -lcrypto libgit.a xdiff/lib.a -lz'
make LIBS="$(curl-config --static-libs) libgit.a xdiff/lib.a -lz"
make DESTDIR="$1" install
cp -rf man "$1/usr/share/man"