[fix] always link zlib static

libz-sys uses these options
8eb6f9e8f4/build.rs (L52)
This commit is contained in:
Patrick Haun 2018-03-19 19:43:43 +01:00
parent 96002c7986
commit b54783917c
No known key found for this signature in database
GPG key ID: 2C648FD29485126D

View file

@ -96,7 +96,9 @@ ENV OPENSSL_DIR=/usr/local/musl/ \
PQ_LIB_STATIC_X86_64_UNKNOWN_LINUX_MUSL=1 \
PG_CONFIG_X86_64_UNKNOWN_LINUX_GNU=/usr/bin/pg_config \
PKG_CONFIG_ALLOW_CROSS=true \
PKG_CONFIG_ALL_STATIC=true
PKG_CONFIG_ALL_STATIC=true \
LIBZ_SYS_STATIC=1 \
TARGET=musl
# (Please feel free to submit pull requests for musl-libc builds of other C
# libraries needed by the most popular and common Rust crates, to avoid