mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
netsurf: add wrapper
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
@@ -115,4 +115,10 @@ fn linkNetSurf(step: *std.build.LibExeObjStep) void {
|
||||
step.addObjectFile(.{ .path = ns ++ "/lib/" ++ lib ++ ".a" });
|
||||
}
|
||||
step.addIncludePath(.{ .path = ns ++ "/include" });
|
||||
|
||||
// wrapper
|
||||
const flags = [_][]const u8{};
|
||||
const files: [1][]const u8 = .{ns ++ "wrapper/wrapper.c"};
|
||||
step.addCSourceFiles(&files, &flags);
|
||||
step.addIncludePath(.{ .path = ns ++ "wrapper" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user