diff options
Diffstat (limited to 'rust/build.rs')
-rw-r--r-- | rust/build.rs | 6 |
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 |