

def determine_ext_objs(self, extobj, proj_dir_to_build_root=''):
    result = []
    targetdir = self.get_target_private_dir(extobj.target)
    for osrc in extobj.srclist:
        pathsegs = osrc.subdir.split(os.sep)
        if (pathsegs[0] == 'subprojects'):
            pathsegs = pathsegs[2:]
        fixedpath = os.sep.join(pathsegs)
        objname = os.path.join(proj_dir_to_build_root, extobj, self.object_filename_from_source(extobj.target, osrc))
        result.append(objname)
    return result

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.determine_ext_objs/VarMisuse@96/142 `targetdir`->`extobj`