summaryrefslogtreecommitdiff
path: root/rust/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/build.rs')
-rw-r--r--rust/build.rs6
1 files changed, 6 insertions, 0 deletions
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