diff --git a/rust-bindings/rust/conf/libostree-sys.toml b/rust-bindings/rust/conf/libostree-sys.toml index 059721cb..2cc61d7b 100644 --- a/rust-bindings/rust/conf/libostree-sys.toml +++ b/rust-bindings/rust/conf/libostree-sys.toml @@ -3,5 +3,10 @@ work_mode = "sys" library = "OSTree" version = "1.0" target_path = "../libostree-sys" +external_libraries = [ + "GLib", + "GObject", + "Gio", +] girs_dir = "../gir-files" diff --git a/rust-bindings/rust/libostree-sys/src/lib.rs b/rust-bindings/rust/libostree-sys/src/lib.rs index 9986c8d1..a4ab6c0b 100644 --- a/rust-bindings/rust/libostree-sys/src/lib.rs +++ b/rust-bindings/rust/libostree-sys/src/lib.rs @@ -6,6 +6,9 @@ #![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))] extern crate libc; +extern crate glib_sys as glib; +extern crate gobject_sys as gobject; +extern crate gio_sys as gio; #[allow(unused_imports)] use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,