Skip to content

Commit

Permalink
build.zig: fix missing hb.h on freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
thechampagne authored Jun 12, 2024
1 parent 78e93eb commit 20044e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub fn build(b: *std.Build) void {
staticLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/webkitgtk-4.0/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/pango-1.0/"});
staticLib.addIncludePath(.{ .path = "/usr/local/include/harfbuzz/"});
staticLib.linkSystemLibrary("gtk-3");
staticLib.linkSystemLibrary("webkit2gtk-4.0");
},
Expand Down Expand Up @@ -107,6 +108,7 @@ pub fn build(b: *std.Build) void {
sharedLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/webkitgtk-4.0/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/pango-1.0/"});
sharedLib.addIncludePath(.{ .path = "/usr/local/include/harfbuzz/"});
sharedLib.linkSystemLibrary("gtk-3");
sharedLib.linkSystemLibrary("webkit2gtk-4.0");
},
Expand Down

0 comments on commit 20044e3

Please sign in to comment.