repo/zlib/build
2021-07-08 17:28:30 +02:00

7 lines
180 B
Text
Executable file

wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --shared
make
make install DESTDIR="$1"