Skip to content

Commit

Permalink
interpreter: use typed_kwargs for build_target.install_rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Oct 17, 2023
1 parent b02d232 commit e06ae90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mesonbuild/interpreter/kwargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]]
Expand Down
1 change: 1 addition & 0 deletions mesonbuild/interpreter/type_checking.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def link_whole_validator(values: T.List[T.Union[StaticLibrary, CustomTarget, Cus
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]:
Expand Down

0 comments on commit e06ae90

Please sign in to comment.