repo/zlib/build

8 lines
267 B
Text
Raw Normal View History

2021-07-07 13:48:44 +03:00
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
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"