Fix typing import bug.

pull/6296/head
Jussi Pakkanen 5 years ago
parent 7065a697e3
commit a17746e2ab
  1. 2
      mesonbuild/dependencies/base.py

@ -151,7 +151,7 @@ class Dependency:
return converted return converted
return self.compile_args return self.compile_args
def get_link_args(self, raw: bool = False) -> typing.List[str]: def get_link_args(self, raw: bool = False) -> List[str]:
if raw and self.raw_link_args is not None: if raw and self.raw_link_args is not None:
return self.raw_link_args return self.raw_link_args
return self.link_args return self.link_args

Loading…
Cancel
Save