From 7e2c82b1b1e3fd10b2d7e661a623bf358b1c73fd Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Sat, 29 Sep 2018 15:28:13 +0200 Subject: [PATCH] Add external libraries and regenerate --- rust-bindings/rust/conf/libostree-sys.toml | 5 +++++ rust-bindings/rust/libostree-sys/src/lib.rs | 3 +++ 2 files changed, 8 insertions(+) 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,