diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-11-16 12:51:56 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-11-16 12:51:56 -0800 |
commit | bb6cb51d401503463c11b0221b860259b8d89552 (patch) | |
tree | e0bfe428e7caddb85ace4c65028e94085cc641d9 /libssh2-sys/build.rs | |
parent | 886e68cb76d60e589354e13784f68ceaa5306439 (diff) | |
download | ssh2-rs-bb6cb51d401503463c11b0221b860259b8d89552.zip |
Apparently this is no longer necessary for MSVC?
Seems to cause cmake to choke regardless unfortunately.
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r-- | libssh2-sys/build.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index 965e6a9..0f8c307 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -39,15 +39,6 @@ fn main() { None => {} } - // MSVC targets also need us to tell libssh2's cmake exactly where zlib is - // installed, so learn that through the ROOT metadata. - if let Some(path) = env::var_os("DEP_Z_ROOT") { - let path = PathBuf::from(path); - if target.contains("msvc") { - cfg.define("ZLIB_LIBRARY", path.join("lib/zlib.lib")); - } - } - if let Some(path) = env::var_os("DEP_OPENSSL_INCLUDE") { cfg.define("OPENSSL_INCLUDE_DIR", path); } |