summaryrefslogtreecommitdiff
path: root/libssh2-sys
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-29 18:18:54 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-29 18:18:54 -0700
commit882820b3f8939daef1efda20f00a7d936660b19f (patch)
treeb83ff920415b0fbef214d02b22b5f9a54e1ad196 /libssh2-sys
parent8ebca2cd43087943bc0f05ea375f41f641a2f385 (diff)
downloadssh2-rs-882820b3f8939daef1efda20f00a7d936660b19f.zip
Try to yet again fix libssh2 build
Diffstat (limited to 'libssh2-sys')
-rw-r--r--libssh2-sys/Cargo.toml2
-rw-r--r--libssh2-sys/build.rs2
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));