diff --git a/build.rs b/build.rs index f80ca3644..d8d2fef82 100644 --- a/build.rs +++ b/build.rs @@ -71,7 +71,7 @@ fn generate_bindings(header_dirs: Vec, output_path: &Path) { // invalidate build as soon as the wrapper changes .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .layout_tests(true) - .clang_args(&["-DPKG-CONFIG"]) + .clang_args(&["-DPKG-CONFIG", "-DLIBXML_C14N_ENABLED", "-DLIBXML_OUTPUT_ENABLED"]) .clang_args( header_dirs.iter() .map(|dir| format!("-I{}", dir.display())) @@ -149,4 +149,4 @@ mod vcpkg_dep { // (or should this panic?) String::from("2.13.5") } -} \ No newline at end of file +}