summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-31 13:44:24 +0200
committerGitHub <noreply@github.com>2022-03-31 13:44:24 +0200
commit0d15f6344b9cad2a3221231ff8d1d5226970e468 (patch)
tree0dc650d5043d67cc0e53500b9edbde3fbe6cfe9e
parente17ce39d594f1b5337ee42f70394eb65a6f9d609 (diff)
parent824927dc50c995f9fb5ed93f46be220d0c200a40 (diff)
Merge pull request #59726 from bruvzg/gde_icu_suffix
-rw-r--r--modules/text_server_adv/gdextension_build/SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/text_server_adv/gdextension_build/SConstruct b/modules/text_server_adv/gdextension_build/SConstruct
index b294fab561..1c38398c88 100644
--- a/modules/text_server_adv/gdextension_build/SConstruct
+++ b/modules/text_server_adv/gdextension_build/SConstruct
@@ -273,6 +273,8 @@ if env["platform"] == "android" or env["platform"] == "linuxbsd":
env_harfbuzz.Append(
CCFLAGS=[
+ "-DU_HAVE_LIB_SUFFIX=1",
+ "-DU_LIB_SUFFIX_C_NAME=_godot",
"-DHAVE_ICU_BUILTIN",
"-DHAVE_ICU",
]
@@ -587,11 +589,16 @@ env_icu.Append(
"-DUCONFIG_NO_FILE_IO",
"-DUCONFIG_NO_TRANSLITERATION",
"-DPKGDATA_MODE=static",
+ "-DU_ENABLE_DYLOAD=0",
+ "-DU_HAVE_LIB_SUFFIX=1",
+ "-DU_LIB_SUFFIX_C_NAME=_godot",
"-DICU_DATA_NAME=" + icu_data_name,
]
)
env.Append(
CXXFLAGS=[
+ "-DU_HAVE_LIB_SUFFIX=1",
+ "-DU_LIB_SUFFIX_C_NAME=_godot",
"-DICU_DATA_NAME=" + icu_data_name,
]
)