'.def files get implicitly converted to a ModuleDefinitionFile for the
linker in the VS generator. Emulate that behaviour here.'

def _GetDefFileAsLdflags(self, ldflags, gyp_to_build_path):

    def_file = self.GetDefFile(gyp_to_build_path)
    if def_file:
        ldflags.append(('/DEF:"%s"' % def_file))
