diff options
Diffstat (limited to 'chapter8/zstd.sh')
-rw-r--r-- | chapter8/zstd.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter8/zstd.sh b/chapter8/zstd.sh new file mode 100644 index 0000000..56b5ddb --- /dev/null +++ b/chapter8/zstd.sh @@ -0,0 +1,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 |