summaryrefslogtreecommitdiff
path: root/modules/text_server_adv/gdextension_build/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'modules/text_server_adv/gdextension_build/SConstruct')
-rw-r--r--modules/text_server_adv/gdextension_build/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/text_server_adv/gdextension_build/SConstruct b/modules/text_server_adv/gdextension_build/SConstruct
index 488d1f641b..7ca8859ee6 100644
--- a/modules/text_server_adv/gdextension_build/SConstruct
+++ b/modules/text_server_adv/gdextension_build/SConstruct
@@ -193,7 +193,7 @@ if env["freetype_enabled"]:
"FT_CONFIG_OPTION_SYSTEM_ZLIB",
]
)
- if env["target"] == "debug":
+ if env.dev_build:
env_freetype.Append(CPPDEFINES=["ZLIB_DEBUG"])
env.Append(CPPDEFINES=["MODULE_FREETYPE_ENABLED"])