repo/zlib/build

9 lines
184 B
Text
Raw Normal View History

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-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
make DESTDIR="$1" install