working on more zig breaking changes

This commit is contained in:
Mitchell Hashimoto
2024-04-11 09:21:51 -04:00
parent d8cc05317a
commit 595f24585e
17 changed files with 83 additions and 94 deletions

View File

@@ -100,13 +100,15 @@ pub fn build(b: *std.Build) !void {
.flags = flags.items,
});
lib.installHeader("override/include/libxml/xmlversion.h", "libxml/xmlversion.h");
lib.installHeadersDirectoryOptions(.{
.source_dir = upstream.path("include"),
.install_dir = .header,
.install_subdir = "",
.include_extensions = &.{".h"},
});
lib.installHeader(
.{ .path = "override/include/libxml/xmlversion.h" },
"libxml/xmlversion.h",
);
lib.installHeadersDirectory(
upstream.path("include"),
"",
.{ .include_extensions = &.{".h"} },
);
b.installArtifact(lib);
}