Skip to content

Commit

Permalink
Update build.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
thechampagne authored Jun 12, 2024
1 parent d8e5086 commit 63e9652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn build(b: *std.Build) void {
},
.freebsd => {
staticLib.addCSourceFile(.{ .file = .{ .path = "external/webview/webview.cc"}, .flags = &.{"-std=c++11"}});
staticLib.addIncludePath(.{ .path = "/usr/local/include/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/cairo/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/gtk-3.0/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/glib-2.0/"});
staticLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"});
Expand Down Expand Up @@ -104,7 +104,7 @@ pub fn build(b: *std.Build) void {
},
.freebsd => {
sharedLib.addCSourceFile(.{ .file = .{ .path = "external/webview/webview.cc"}, .flags = &.{"-std=c++11"}});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/cairo/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/gtk-3.0/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/glib-2.0/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"});
Expand Down

0 comments on commit 63e9652

Please sign in to comment.