mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
update addCSourceFiles signature
see https://github.com/ziglang/zig/pull/17420
This commit is contained in:
@@ -155,6 +155,9 @@ fn linkNetSurf(step: *std.build.LibExeObjStep) void {
|
|||||||
// wrapper
|
// wrapper
|
||||||
const flags = [_][]const u8{};
|
const flags = [_][]const u8{};
|
||||||
const files: [1][]const u8 = .{ns ++ "wrapper/wrapper.c"};
|
const files: [1][]const u8 = .{ns ++ "wrapper/wrapper.c"};
|
||||||
step.addCSourceFiles(&files, &flags);
|
step.addCSourceFiles(.{
|
||||||
|
.files = &files,
|
||||||
|
.flags = &flags,
|
||||||
|
});
|
||||||
step.addIncludePath(.{ .path = ns ++ "wrapper" });
|
step.addIncludePath(.{ .path = ns ++ "wrapper" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user