diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-07-31 16:17:27 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-31 16:17:27 -0700 |
commit | 19bb077aec34c430ce9083e533feddb8f5441c26 (patch) | |
tree | 12f8b7b20fb7eed6839246af69fec229e06613c1 /libssh2-sys | |
parent | c50b6668ae0bf66278975fa3c91c4a3767a423ea (diff) | |
download | ssh2-rs-19bb077aec34c430ce9083e533feddb8f5441c26.zip |
Disable zlib on all windows
Diffstat (limited to 'libssh2-sys')
-rw-r--r-- | libssh2-sys/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index f6602de..908557c 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -28,7 +28,7 @@ fn main() { } else { cfg.define("CRYPTO_BACKEND", "OpenSSL"); } - let zlib = if target.contains("msvc") {"OFF"} else {"ON"}; + let zlib = if target.contains("windows") {"OFF"} else {"ON"}; cfg.define("BUILD_SHARED_LIBS", "OFF") .define("ENABLE_ZLIB_COMPRESSION", zlib) .define("CMAKE_INSTALL_LIBDIR", dst.join("lib")) |