* 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.
This commit is contained in:
Jan Alexander Steffens (heftig) 2023-02-09 19:22:47 +00:00 committed by Werner Lemberg
parent 79a8201e6e
commit 23e60caeef
1 changed files with 5 additions and 1 deletions

View File

@ -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"