diff options
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r-- | libssh2-sys/build.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index 57cf256..e63ed0a 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -124,10 +124,6 @@ fn main() { println!("cargo:rerun-if-env-changed=DEP_Z_INCLUDE"); if let Some(path) = env::var_os("DEP_Z_INCLUDE") { cfg.include(path); - } else if let Ok(lib) = pkg_config::find_library("zlib") { - for path in &lib.include_paths { - cfg.include(path); - } } println!("cargo:rerun-if-env-changed=DEP_OPENSSL_INCLUDE"); @@ -139,10 +135,6 @@ fn main() { } } } - } else if let Ok(lib) = pkg_config::find_library("openssl") { - for path in &lib.include_paths { - cfg.include(path); - } } let libssh2h = fs::read_to_string("libssh2/include/libssh2.h").unwrap(); |