summaryrefslogtreecommitdiff
path: root/libssh2-sys/build.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-05-27 11:29:05 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-05-27 11:29:05 -0700
commit219d467b0d89200990f56a6d84d6c600a864f6b9 (patch)
tree186445d2188d2294d28fd7f68dc793e5d52b0484 /libssh2-sys/build.rs
parent7f7751510cbafcb3b265a7fe0f75d4e714f34aba (diff)
downloadssh2-rs-219d467b0d89200990f56a6d84d6c600a864f6b9.zip
Specifically don't build the ssh2 tool
It's not needed and sometimes the build can fail for obscure reason due to building a staticlib on some platforms.
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r--libssh2-sys/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs
index 1ce4387..abacf04 100644
--- a/libssh2-sys/build.rs
+++ b/libssh2-sys/build.rs
@@ -61,6 +61,9 @@ fn main() {
.current_dir(dst.join("build/src")));
run(Command::new(&make())
.arg("install")
+ .current_dir(dst.join("build/src")));
+ run(Command::new(&make())
+ .arg("install-data")
.current_dir(dst.join("build")));
// Unfortunately the pkg-config file generated for libssh2 indicates