summaryrefslogtreecommitdiff
path: root/rust/build.rs
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-09-03 02:00:54 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-09-03 12:26:30 +0200
commit53b5c00e625bf700a21be1a3e2070d3b23f1bef4 (patch)
treefaace67aba86121a28382a0c74fe7701e4d398b7 /rust/build.rs
parent311a02c31e03b23cc66e662cce63e6c19d4bc662 (diff)
downloadauth-xmppmessage-53b5c00e625bf700a21be1a3e2070d3b23f1bef4.tar.gz
auth-xmppmessage-53b5c00e625bf700a21be1a3e2070d3b23f1bef4.zip
first test version
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