aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/zlib.sh
blob: 47dfba2004f3692a47d99a1c49e3296bc49b9ab1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

./configure --prefix=/usr
make
make -j1 install

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