modules/gnome: fix _get_build_args type annotations

pull/9850/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent 0dd720a014
commit 26722f8e44
  1. 3
      mesonbuild/modules/gnome.py

@ -1437,7 +1437,8 @@ class GnomeModule(ExtensionModule):
def _get_build_args(self, c_args: T.List[str], inc_dirs: T.List[T.Union[str, build.IncludeDirs]],
deps: T.List[T.Union[Dependency, build.SharedLibrary, build.StaticLibrary]],
state: 'ModuleState', depends: T.List[build.BuildTarget]) -> T.List[str]:
state: 'ModuleState',
depends: T.Sequence[T.Union[build.BuildTarget, 'build.GeneratedTypes']]) -> T.List[str]:
args: T.List[str] = []
cflags = c_args.copy()
deps_cflags, internal_ldflags, external_ldflags, *_ = \

Loading…
Cancel
Save