def add_cross_stdlib_info(self, target):
    if (target.for_machine != MachineChoice.HOST):
        return
    for l in self.get_used_languages(target):
        props = self.environment.properties.host
        if (props.has_stdlib(l) and (self.subproject != props.get_stdlib(l)[0])):
            target.add_deps(self.build.stdlibs.host[l])
def add_cross_stdlib_info(self, target):
    if (target.for_machine != MachineChoice.HOST):
        return
    for l in self.get_used_languages(target):
        props = self.environment.properties.host
        if (props.has_stdlib(l) and (self.subproject != props.get_stdlib(l)[0])):
            target.add_deps(self.build.stdlibs.host[l])