summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontregistry.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2023-01-25 20:31:04 +0100
committerKitty Barnett <develop@catznip.com>2023-01-25 20:31:04 +0100
commitda0335c864477036ba996fbab4db2194535466d7 (patch)
treedea8460c8ab32c3dbe2e285cbd10c36ddc81b5be /indra/llrender/llfontregistry.cpp
parent5dcdf8330409779591d35c05888efd02e412cf50 (diff)
Fix Mac build
- Link against ICU4C - Font files were only copied on Windows builds - Replace missing variable
Diffstat (limited to 'indra/llrender/llfontregistry.cpp')
-rw-r--r--indra/llrender/llfontregistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontregistry.cpp b/indra/llrender/llfontregistry.cpp
index 44f2bd4cc5..c9a9ee3a03 100644
--- a/indra/llrender/llfontregistry.cpp
+++ b/indra/llrender/llfontregistry.cpp
@@ -483,7 +483,7 @@ LLFontGL *LLFontRegistry::createFont(const LLFontDescriptor& desc)
#if LL_DARWIN
font_search_paths.push_back(MACOSX_FONT_PATH_LIBRARY);
font_search_paths.push_back(MACOSX_FONT_PATH_LIBRARY + MACOSX_FONT_SUPPLEMENTAL);
- font_search_paths.push_back(sys_path + MACOSX_FONT_SUPPLEMENTAL);
+ font_search_paths.push_back(LLFontGL::getFontPathSystem() + MACOSX_FONT_SUPPLEMENTAL);
#endif
// The fontname string may contain multiple font file names separated by semicolons.