aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/zstd.sh
blob: 56b5ddb65e74f9855c4966708cba000c1a06e1cf (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

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