blob: d3c36158fa70b61798c20c671435ea2b37e33030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/rust/src/json.rs.orig
+++ b/rust/src/json.rs
@@ -25,6 +25,7 @@
pub enum JsonT {}
/// Expose the jansson functions we need.
+#[link(name = "jansson")]
extern {
fn json_object() -> *mut JsonT;
fn json_object_set_new(js: *mut JsonT, key: *const c_char,
|