2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00

zstd: static programs, only zstd

This commit is contained in:
Dylan Araps 2021-07-03 11:16:18 +00:00
parent b58602a025
commit 259e251c24
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,4 +1,13 @@
#!/bin/sh -e
make
make DESTDIR="$1" PREFIX=/usr install
sed -i 's/^FLAGS.*=/FLAGS = -static /' programs/Makefile
make \
HAVE_LZMA=0 \
HAVE_ZLIB=0 \
HAVE_LZ4=0
make \
DESTDIR="$1" \
PREFIX=/usr \
install