aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/zstd.sh
blob: 5ca874f70d6b7247da30b2827cc760054ac42358 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e

make
make prefix=/usr -j1 install

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