Skip to content

Commit 7f765b4

Browse files
authored
move xmlunicode.c to correct location in build script
1 parent bcb60eb commit 7f765b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ pub fn build(b: *std.Build) void {
181181
if (output) xml_lib.root_module.addCSourceFile(.{ .file = upstream.path("xmlsave.c"), .flags = xml_flags });
182182
if (pattern) xml_lib.root_module.addCSourceFile(.{ .file = upstream.path("pattern.c"), .flags = xml_flags });
183183
if (reader) xml_lib.root_module.addCSourceFile(.{ .file = upstream.path("xmlreader.c"), .flags = xml_flags });
184-
if (regexps) xml_lib.root_module.addCSourceFiles(.{ .files = &.{"xmlregexp.c"}, .root = upstream.path(""), .flags = xml_flags });
184+
if (regexps) xml_lib.root_module.addCSourceFiles(.{ .files = &.{"xmlregexp.c", "xmlunicode.c"}, .root = upstream.path(""), .flags = xml_flags });
185185
if (relaxng) xml_lib.root_module.addCSourceFile(.{ .file = upstream.path("relaxng.c"), .flags = xml_flags });
186186
if (schemas) xml_lib.root_module.addCSourceFiles(.{ .files = &.{ "xmlschemas.c", "xmlschemastypes.c" }, .root = upstream.path(""), .flags = xml_flags });
187187
if (schematron) xml_lib.root_module.addCSourceFile(.{ .file = upstream.path("schematron.c"), .flags = xml_flags });
@@ -229,7 +229,6 @@ pub const xml_src: []const []const u8 = &.{
229229
"xmlIO.c",
230230
"xmlmemory.c",
231231
"xmlstring.c",
232-
"xmlunicode.c",
233232
};
234233

235234
pub const xml_flags: []const []const u8 = &.{

0 commit comments

Comments
 (0)