[release] add xz/lzma to the release build

This commit is contained in:
Timothy Stack 2021-01-11 21:22:46 -08:00
parent a768f0146f
commit ae422bb37e
3 changed files with 13 additions and 1 deletions

View File

@ -20,7 +20,8 @@ PACKAGE_URLS = \
https://sqlite.org/2020/sqlite-autoconf-3330000.tar.gz \
https://www.openssl.org/source/openssl-1.0.2n.tar.gz \
https://www.libssh2.org/download/libssh2-1.9.0.tar.gz \
https://curl.haxx.se/download/curl-7.72.0.tar.gz
https://curl.haxx.se/download/curl-7.72.0.tar.gz \
https://tukaani.org/xz/xz-5.2.5.tar.gz
.PHONY: linux freebsd pkger download-pkgs musl

View File

@ -50,6 +50,7 @@ if test x"${OS}" != x"FreeBSD"; then
CXXFLAGS='-static -U__unused -no-pie -s -O2' \
LDFLAGS="-L${FAKE_ROOT}/lib" \
CPPFLAGS="-I${FAKE_ROOT}/include" \
LIBS="-L${FAKE_ROOT}/lib -llzma -lssl -lcrypto" \
--enable-static
PATH="${FAKE_ROOT}/bin:${PATH}"
else
@ -57,6 +58,7 @@ if test x"${OS}" != x"FreeBSD"; then
--with-libarchive=${FAKE_ROOT} \
LDFLAGS="-L${FAKE_ROOT}/lib" \
CPPFLAGS="-I${FAKE_ROOT}/include -O2" \
LIBS="-L${FAKE_ROOT}/lib -llzma -lssl -lcrypto" \
PATH="${FAKE_ROOT}/bin:${PATH}"
fi
else

View File

@ -139,6 +139,15 @@ else
make install)
fi
(cd xz-* &&
./configure --prefix=${FAKE_ROOT} \
--disable-shared \
"LDFLAGS=-L${FAKE_ROOT}/lib" \
"CPPFLAGS=-I${FAKE_ROOT}/include" \
&&
make &&
make install)
(cd libarchive-* &&
./configure --prefix=${FAKE_ROOT} \
--disable-shared \