Skip to content

Commit

Permalink
ENH: In debug mode, do not use customized MSVC runtime library.
Browse files Browse the repository at this point in the history
  • Loading branch information
87 authored and charris committed Oct 4, 2011
1 parent 1fa57b6 commit be07051
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/distutils/mingw32ccompiler.py
Expand Up @@ -175,6 +175,9 @@ def link(self,
if not libraries:
libraries = []
libraries.append(runtime_library)
if debug:
# There is no customized msvcr lib in debug mode
self.undefine_macro('NPY_MINGW_USE_CUSTOM_MSVCR')
args = (self,
target_desc,
objects,
Expand Down

0 comments on commit be07051

Please sign in to comment.