Fix misnamed method in BasicLinkerIsCompilerMixin

get_allow_undefined_link_args is the compiler method
get_allow_undefined_args is the linker method
pull/6042/head
Andrei Alexeyev 5 years ago committed by Dylan Baker
parent 18e0029843
commit 9488e4acfe
  1. 2
      mesonbuild/compilers/mixins/islinker.py

@ -90,7 +90,7 @@ class BasicLinkerIsCompilerMixin:
raise mesonlib.EnvironmentException(
'Linker {} does not support link_whole'.format(self.id))
def get_allow_undefined_args(self) -> typing.List[str]:
def get_allow_undefined_link_args(self) -> typing.List[str]:
raise mesonlib.EnvironmentException(
'Linker {} does not support allow undefined'.format(self.id))

Loading…
Cancel
Save