Add external libraries and regenerate
This commit is contained in:
parent
03abeebb89
commit
7e2c82b1b1
|
|
@ -3,5 +3,10 @@ work_mode = "sys"
|
||||||
library = "OSTree"
|
library = "OSTree"
|
||||||
version = "1.0"
|
version = "1.0"
|
||||||
target_path = "../libostree-sys"
|
target_path = "../libostree-sys"
|
||||||
|
external_libraries = [
|
||||||
|
"GLib",
|
||||||
|
"GObject",
|
||||||
|
"Gio",
|
||||||
|
]
|
||||||
|
|
||||||
girs_dir = "../gir-files"
|
girs_dir = "../gir-files"
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
#![cfg_attr(feature = "cargo-clippy", allow(approx_constant, type_complexity, unreadable_literal))]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
extern crate glib_sys as glib;
|
||||||
|
extern crate gobject_sys as gobject;
|
||||||
|
extern crate gio_sys as gio;
|
||||||
|
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue