summaryrefslogtreecommitdiff
path: root/libssh2-sys/build.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-11-16 12:51:56 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-11-16 12:51:56 -0800
commitbb6cb51d401503463c11b0221b860259b8d89552 (patch)
treee0bfe428e7caddb85ace4c65028e94085cc641d9 /libssh2-sys/build.rs
parent886e68cb76d60e589354e13784f68ceaa5306439 (diff)
downloadssh2-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.rs9
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);
}