Skip to content

Commit dbdc9fd

Browse files
Qubitzadginev
authored andcommitted
Fixed generation of C14n bindings
1 parent 9245d4c commit dbdc9fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn generate_bindings(header_dirs: Vec<PathBuf>, output_path: &Path) {
7171
// invalidate build as soon as the wrapper changes
7272
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
7373
.layout_tests(true)
74-
.clang_args(&["-DPKG-CONFIG"])
74+
.clang_args(&["-DPKG-CONFIG", "-DLIBXML_C14N_ENABLED", "-DLIBXML_OUTPUT_ENABLED"])
7575
.clang_args(
7676
header_dirs.iter()
7777
.map(|dir| format!("-I{}", dir.display()))
@@ -149,4 +149,4 @@ mod vcpkg_dep {
149149
// (or should this panic?)
150150
String::from("2.13.5")
151151
}
152-
}
152+
}

0 commit comments

Comments
 (0)