summaryrefslogtreecommitdiff
path: root/libssh2-sys/build.rs
diff options
context:
space:
mode:
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));