summaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2023-10-30 19:15:31 +0900
committerDylan Baker <dylan@pnwbakers.com>2025-11-14 08:16:23 -0800
commitc3275c5a0a19ea70b8227a2c9fb3e604b1d8bb51 (patch)
tree3e564ec4ef47497ec1e59e504238150c636e59e8 /mesonbuild/modules
parent6fc9f10a5ce7fa951df1ee0347fd54c86941b151 (diff)
downloadmeson-c3275c5a0a19ea70b8227a2c9fb3e604b1d8bb51.tar.gz
Add `shortname' kwarg for a short DLL name on OS/2
Give an user opportunities to mangle a custom short name for a DLL on OS/2.
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/rust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py
index 1836ba9c2..094c363e5 100644
--- a/mesonbuild/modules/rust.py
+++ b/mesonbuild/modules/rust.py
@@ -181,7 +181,7 @@ class RustModule(ExtensionModule):
new_target_kwargs = T.cast('ExecutableKeywordArguments', base_target.original_kwargs.copy())
del new_target_kwargs['rust_crate_type']
- for kw in ('pic', 'prelink', 'rust_abi', 'version', 'soversion', 'darwin_versions'):
+ for kw in ('pic', 'prelink', 'rust_abi', 'version', 'soversion', 'darwin_versions', 'shortname'):
if kw in new_target_kwargs:
del new_target_kwargs[kw] # type: ignore[misc]