[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 23e60caee 2/2: * builds/meson/parse_modules_cfg.py: H
From: |
Werner Lemberg |
Subject: |
[freetype2] master 23e60caee 2/2: * builds/meson/parse_modules_cfg.py: Handle `gxvalid` and `otvalid`. |
Date: |
Thu, 9 Feb 2023 15:50:25 -0500 (EST) |
branch: master
commit 23e60caeef4027fdc9d1d40efbb47318a0a7d6f3
Author: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Commit: Werner Lemberg <wl@gnu.org>
* 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.
---
builds/meson/parse_modules_cfg.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 23e60caee 2/2: * builds/meson/parse_modules_cfg.py: Handle `gxvalid` and `otvalid`.,
Werner Lemberg <=