aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/zlib.sh
blob: 4de64f98aae05974c66a65abe0340b7d2f4bdac6 (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