Commits

mattip  committed ff8855b

fix linker flags

  • Participants
  • Parent commits af45af0

Comments (0)

Files changed (1)

File pypy/translator/platform/posix.py

 
         if relto:
             response_file = relto.bestrelpath(response_file)
-        if self.cc == 'mingw32' or self.cc== 'gcc':    
+        if self.cc == 'mingw32' or (self.cc== 'gcc' and os.name=='nt'):    
             return ["-Wl,--export-all-symbols,--version-script=%s" % \
                     (response_file,)]
         return ["-Wl,--export-dynamic,--version-script=%s" % (response_file,)]