summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>2023-02-09 19:22:47 +0000
committerWerner Lemberg <wl@gnu.org>2023-02-09 21:49:34 +0100
commit23e60caeef4027fdc9d1d40efbb47318a0a7d6f3 (patch)
tree02ee7bff13b30a12e8d873da63beeb3eacfe72ef
parent79a8201e6e67cb865a04da7415be8b03698d16fd (diff)
downloadfreetype2-23e60caeef4027fdc9d1d40efbb47318a0a7d6f3.tar.gz
* builds/meson/parse_modules_cfg.py: Handle `gxvalid` and `otvalid`.
These need a name mapping similar to what was done for other modules, or linking will fail.
-rw-r--r--builds/meson/parse_modules_cfg.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/builds/meson/parse_modules_cfg.py b/builds/meson/parse_modules_cfg.py
index 6030bb209..d48129fe7 100644
--- a/builds/meson/parse_modules_cfg.py
+++ b/builds/meson/parse_modules_cfg.py
@@ -97,8 +97,12 @@ def generate_ftmodule(lists):
for module in lists["AUX_MODULES"]:
if module in ("psaux", "psnames", "otvalid", "gxvalid"):
+ name = {
+ "gxvalid": "gxv",
+ "otvalid": "otv",
+ }.get(module, module)
result += (
- "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % module
+ "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % name
)
result += "/* EOF */\n"