2021-07-16 23:19:27 +03:00
|
|
|
curl -# https://zlib.net/zlib-1.2.11.tar.gz
|
2021-07-07 17:27:54 +03:00
|
|
|
tar -xf zlib-1.2.11.tar.gz
|
|
|
|
cd zlib-1.2.11
|
2021-07-14 16:37:03 +03:00
|
|
|
|
2021-07-04 21:28:36 +03:00
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
2021-07-08 18:28:30 +03:00
|
|
|
./configure --prefix="$1" --shared
|
2021-07-04 21:28:36 +03:00
|
|
|
make
|
2021-07-14 16:37:03 +03:00
|
|
|
make DESTDIR="$1" install
|