From 53b5c00e625bf700a21be1a3e2070d3b23f1bef4 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 3 Sep 2016 02:00:54 +0200 Subject: first test version --- rust/build.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 rust/build.rs (limited to 'rust/build.rs') diff --git a/rust/build.rs b/rust/build.rs new file mode 100644 index 0000000..3e9c14f --- /dev/null +++ b/rust/build.rs @@ -0,0 +1,6 @@ +extern crate gcc; + +fn main() { + gcc::compile_library("libsendxmpp.a", &["clib/sendxmpp.c"]); + println!("cargo:rustc-link-lib=strophe") +} \ No newline at end of file -- cgit v1.2.1