use wrapper for including expat
This is necessary for building on systems that don't store headers in /usr/include
This commit is contained in:
parent
42bb11379b
commit
30b6b0e636
2 changed files with 2 additions and 1 deletions
2
build.rs
2
build.rs
|
|
@ -10,7 +10,7 @@ fn main()
|
|||
{
|
||||
let builder = bindgen::builder();
|
||||
|
||||
let bindings = builder.header("/usr/include/expat.h")
|
||||
let bindings = builder.header("include/wrapper.h")
|
||||
.generate()
|
||||
.expect("The libexpat headers must be installed");
|
||||
|
||||
|
|
|
|||
1
include/wrapper.h
Normal file
1
include/wrapper.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include <expat.h>
|
||||
Loading…
Add table
Add a link
Reference in a new issue