dynload freetype2
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoI_xD 2026-03-31 12:44:32 -07:00
commit 9d7d4541e4
2 changed files with 39 additions and 12 deletions

View file

@ -78,12 +78,8 @@ add_incdir("-Iexternal/libz/include");
if (param_get("freetype2")) {
add_cflags("-DUSE_FREETYPE2");
if ($cross) {
add_libs("-lfreetype");
}
else {
if (!$cross) {
add_cflags(`pkg-config --cflags freetype2`);
add_libs(`pkg-config --libs freetype2`);
}
}