diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 18:18:54 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 18:18:54 -0700 |
commit | 882820b3f8939daef1efda20f00a7d936660b19f (patch) | |
tree | b83ff920415b0fbef214d02b22b5f9a54e1ad196 /libssh2-sys | |
parent | 8ebca2cd43087943bc0f05ea375f41f641a2f385 (diff) | |
download | ssh2-rs-882820b3f8939daef1efda20f00a7d936660b19f.zip |
Try to yet again fix libssh2 build
Diffstat (limited to 'libssh2-sys')
-rw-r--r-- | libssh2-sys/Cargo.toml | 2 | ||||
-rw-r--r-- | libssh2-sys/build.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libssh2-sys/Cargo.toml b/libssh2-sys/Cargo.toml index c3d7cb1..51b38e8 100644 --- a/libssh2-sys/Cargo.toml +++ b/libssh2-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libssh2-sys" -version = "0.1.21" +version = "0.1.22" authors = ["Alex Crichton <alex@alexcrichton.com>"] links = "ssh2" build = "build.rs" diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index 2a11462..20b6a4f 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -99,7 +99,7 @@ fn main() { // pkg-config file let mut pc = String::new(); t!(t!(File::open(dst.join("build/libssh2.pc"))).read_to_string(&mut pc)); - let pc = pc.replace(",zlib", ""); + let pc = pc.replace(",zlib", "").replace("zlib", ""); let bytes = pc.as_bytes(); t!(t!(File::create(dst.join("lib/pkgconfig/libssh2.pc"))).write_all(bytes)); |