diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2023-09-29 14:35:03 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2023-10-17 08:09:06 -0700 |
| commit | e06ae906779c00417f8003cc7171c1516353317b (patch) | |
| tree | 491746fd2bc34ffaae56041ba48c7e699384a17f | |
| parent | b02d23206a659898f4165a7ee7c07b064b7c079b (diff) | |
| download | meson-e06ae906779c00417f8003cc7171c1516353317b.tar.gz | |
interpreter: use typed_kwargs for build_target.install_rpath
| -rw-r--r-- | mesonbuild/interpreter/kwargs.py | 1 | ||||
| -rw-r--r-- | mesonbuild/interpreter/type_checking.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/interpreter/kwargs.py b/mesonbuild/interpreter/kwargs.py index 046838ec7..e5afa962b 100644 --- a/mesonbuild/interpreter/kwargs.py +++ b/mesonbuild/interpreter/kwargs.py @@ -330,6 +330,7 @@ class _BaseBuildTarget(TypedDict): extra_files: T.List[FileOrString] install: bool install_mode: FileMode + install_rpath: str implicit_include_directories: bool native: MachineChoice override_options: T.Dict[OptionKey, T.Union[str, int, bool, T.List[str]]] diff --git a/mesonbuild/interpreter/type_checking.py b/mesonbuild/interpreter/type_checking.py index 87d862290..cc3dbbb68 100644 --- a/mesonbuild/interpreter/type_checking.py +++ b/mesonbuild/interpreter/type_checking.py @@ -577,6 +577,7 @@ _BUILD_TARGET_KWS: T.List[KwargInfo] = [ since='1.2.0', ), KwargInfo('build_rpath', str, default='', since='0.42.0'), + KwargInfo('install_rpath', str, default=''), ] def _validate_win_subsystem(value: T.Optional[str]) -> T.Optional[str]: |
