diff options
author | Jan Alexander Steffens (heftig) <heftig@archlinux.org> | 2023-02-09 19:22:47 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2023-02-09 21:49:34 +0100 |
commit | 23e60caeef4027fdc9d1d40efbb47318a0a7d6f3 (patch) | |
tree | 02ee7bff13b30a12e8d873da63beeb3eacfe72ef /builds | |
parent | 79a8201e6e67cb865a04da7415be8b03698d16fd (diff) | |
download | freetype2-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.
Diffstat (limited to 'builds')
-rw-r--r-- | builds/meson/parse_modules_cfg.py | 6 |
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" |