repo/zlib/build
2021-07-07 12:48:44 +02:00

7 lines
267 B
Text
Executable file

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