repo/zlib/build
2021-07-07 05:51:43 +02:00

7 lines
203 B
Text
Executable file

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