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