summaryrefslogtreecommitdiffstats
path: root/modules/text_server_fb/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-17 13:33:15 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-17 13:40:19 +0200
commit5282974c6156e27b73e1a8d6147d1ea1ad06550f (patch)
tree6a109110437d8142a0c66c111062279905a5a607 /modules/text_server_fb/SCsub
parent446dfdbd8735742319d5113d481745ee0baba8b2 (diff)
downloadredot-engine-5282974c6156e27b73e1a8d6147d1ea1ad06550f.tar.gz
SCons: Fix ThorVG build option in TextServers with #80095
Diffstat (limited to 'modules/text_server_fb/SCsub')
-rw-r--r--modules/text_server_fb/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/text_server_fb/SCsub b/modules/text_server_fb/SCsub
index 582e622147..0da2a54bc2 100644
--- a/modules/text_server_fb/SCsub
+++ b/modules/text_server_fb/SCsub
@@ -10,6 +10,8 @@ env_text_server_fb = env_modules.Clone()
if "svg" in env.module_list:
env_text_server_fb.Prepend(CPPPATH=["#thirdparty/thorvg/inc", "#thirdparty/thorvg/src/lib"])
+ # Enable ThorVG static object linking.
+ env_text_server_fb.Append(CPPDEFINES=["TVG_STATIC"])
if env["builtin_msdfgen"] and msdfgen_enabled:
# Treat msdfgen headers as system headers to avoid raising warnings. Not supported on MSVC.