repo/zlib/build
2021-07-16 22:33:05 +02:00

8 lines
181 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 DESTDIR="$1" install