mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
begin 0.13 update process -- very broken
This commit is contained in:
@@ -14,12 +14,12 @@ pub fn build(b: *std.Build) !void {
|
||||
lib.linkLibC();
|
||||
|
||||
lib.addIncludePath(upstream.path("include"));
|
||||
lib.addIncludePath(.{ .path = "override/include" });
|
||||
lib.addIncludePath(b.path("override/include"));
|
||||
if (target.result.os.tag == .windows) {
|
||||
lib.addIncludePath(.{ .path = "override/config/win32" });
|
||||
lib.addIncludePath(b.path("override/config/win32"));
|
||||
lib.linkSystemLibrary("ws2_32");
|
||||
} else {
|
||||
lib.addIncludePath(.{ .path = "override/config/posix" });
|
||||
lib.addIncludePath(b.path("override/config/posix"));
|
||||
}
|
||||
|
||||
var flags = std.ArrayList([]const u8).init(b.allocator);
|
||||
@@ -101,7 +101,7 @@ pub fn build(b: *std.Build) !void {
|
||||
});
|
||||
|
||||
lib.installHeader(
|
||||
.{ .path = "override/include/libxml/xmlversion.h" },
|
||||
b.path("override/include/libxml/xmlversion.h"),
|
||||
"libxml/xmlversion.h",
|
||||
);
|
||||
lib.installHeadersDirectory(
|
||||
|
||||
Reference in New Issue
Block a user