summaryrefslogtreecommitdiff
path: root/libssh2-sys/build.rs
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/build.rs
parent8ebca2cd43087943bc0f05ea375f41f641a2f385 (diff)
downloadssh2-rs-882820b3f8939daef1efda20f00a7d936660b19f.zip
Try to yet again fix libssh2 build
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r--libssh2-sys/build.rs2
1 files changed, 1 insertions, 1 deletions
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));