repo/zlib/build

8 lines
201 B
Text
Raw Normal View History

2021-07-07 17:27:54 +03:00
wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11
2021-07-04 21:28:36 +03:00
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
make
make install DESTDIR="$1"