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