diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-01-10 15:00:36 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-15 10:21:46 -0700 |
| commit | 67510c167c131d405a9ce6d8269d3042b81d94b5 (patch) | |
| tree | c1a9088c705f194c8391122d6e18af304e113d24 /mesonbuild/interpreter/interpreter.py | |
| parent | 020e58b59972a6cbfb78841021a87cd5162a9a77 (diff) | |
| download | meson-67510c167c131d405a9ce6d8269d3042b81d94b5.tar.gz | |
build: remove build layer validation of Executable(implib)
This includes cleaning up some of the type handling to account for
cleanups that are done at the DSL level.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
| -rw-r--r-- | mesonbuild/interpreter/interpreter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 72e937904..51671bfc5 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -3541,11 +3541,10 @@ class Interpreter(InterpreterBase, HoldableObject): elif kwargs['export_dynamic']: if kwargs['implib'] is False: raise InvalidArguments('"implib" keyword" must not be false if "export_dynamic" is set and not false.') - kwargs['implib'] = True if kwargs['export_dynamic'] is None: kwargs['export_dynamic'] = False - if kwargs['implib'] is None: - kwargs['implib'] = False + if isinstance(kwargs['implib'], bool): + kwargs['implib'] = None target = targetclass(name, self.subdir, self.subproject, for_machine, srcs, struct, objs, self.environment, self.compilers[for_machine], kwargs) |
