aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/zstd.sh
blob: 8dc163c33beebe595582ecd714568d8ee80aae7d (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