diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-10-09 11:12:47 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-10-09 11:12:47 -0600 |
commit | cda64938eb150b1af6677db4754da3be5fd7e483 (patch) | |
tree | a8b19b34e196e1df7b33e9322b1c5e0ffb0731ca /numpy/core/setup.py | |
parent | 8cb3ec6ab804f594daf553e53e7cf7478656bebd (diff) | |
parent | b354c005ccfe961e793ec4567e9cf6bbdca1b5f2 (diff) | |
download | numpy-cda64938eb150b1af6677db4754da3be5fd7e483.tar.gz |
Merge pull request #6354 from mingwpy/mingwpy
BLD: mingwpy fixes
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index aa9e03e06..2a1ae5f62 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -101,6 +101,8 @@ def win32_checks(deflist): deflist.append('FORCE_NO_LONG_DOUBLE_FORMATTING') def check_math_capabilities(config, moredefs, mathlibs): + from numpy.distutils.misc_util import mingw32 + def check_func(func_name): return config.check_func(func_name, libraries=mathlibs, decl=True, call=True) @@ -170,7 +172,8 @@ def check_math_capabilities(config, moredefs, mathlibs): # C99 functions: float and long double versions check_funcs(C99_FUNCS_SINGLE) - check_funcs(C99_FUNCS_EXTENDED) + if not mingw32(): + check_funcs(C99_FUNCS_EXTENDED) def check_complex(config, mathlibs): priv = [] |