Skip to content

Commit

Permalink
fix dynamic build
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Oct 2, 2023
1 parent d71197d commit e3a5852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ fn addDeps(

// Dynamic link
if (!static) {
// step.addIncludePath(.{ .path = freetype.include_path_self });
step.addIncludePath(freetype_dep.path(""));
step.linkSystemLibrary2("bzip2", dynamic_link_opts);
step.linkSystemLibrary2("freetype2", dynamic_link_opts);
step.linkSystemLibrary2("harfbuzz", dynamic_link_opts);
Expand Down
1 change: 1 addition & 0 deletions nix/devshell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ let
freetype
harfbuzz
libpng
pixman
zlib

libX11
Expand Down

0 comments on commit e3a5852

Please sign in to comment.