[release] add -lssh2 -lz to the static builds

This commit is contained in:
Timothy Stack 2021-04-16 15:09:07 -07:00
parent 3741985ee3
commit 0fd7f31222

View File

@ -50,7 +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" \
LIBS="-L${FAKE_ROOT}/lib -lssh2 -llzma -lssl -lcrypto -lz" \
--enable-static
PATH="${FAKE_ROOT}/bin:${PATH}"
else
@ -59,7 +59,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" \
LIBS="-L${FAKE_ROOT}/lib -lssh2 -llzma -lssl -lcrypto -lz" \
PATH="${FAKE_ROOT}/bin:${PATH}"
fi
else