fix dynamic build

This commit is contained in:
Mitchell Hashimoto
2023-10-01 17:42:18 -07:00
parent d71197dc59
commit e3a58526ce
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -51,6 +51,7 @@ let
freetype
harfbuzz
libpng
pixman
zlib
libX11