repo/zstd/build

6 lines
164 B
Text
Raw Permalink Normal View History

make
make prefix="$1/usr"
rm -v $1/usr/lib/libzstd.a
mv -v $1/usr/lib/libzstd.so.* $1/lib
ln -sfv ../../lib/$(readlink $1/usr/lib/libzstd.so) $1/usr/lib/libzstd.so