mirror of https://github.com/tstack/lnav.git
[release] add xz/lzma to the release build
This commit is contained in:
parent
a768f0146f
commit
ae422bb37e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue