

def build_target_link_arguments(self, compiler, deps):
    args = []
    for d in deps:
        if ((not isinstance(d, build.StaticLibrary)) and (not isinstance(d, build.SharedLibrary))):
            raise RuntimeError(('Tried to link with a non-library target "%s".' % d.get_basename()))
        args.append(self.get_target_filename_for_linking(d))
        args += self.build_target_link_arguments(compiler, args.get_dependencies())
    return args

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.build_target_link_arguments/VarMisuse@90/128 `d`->`args`