diff options
author | carlkl <cmkleffner@gmail.com> | 2015-09-24 23:46:23 +0200 |
---|---|---|
committer | carlkl <cmkleffner@gmail.com> | 2015-09-24 23:46:23 +0200 |
commit | b354c005ccfe961e793ec4567e9cf6bbdca1b5f2 (patch) | |
tree | 50a456686e70f13601b30e1f9769bd88836b9d3a /numpy/core/setup.py | |
parent | 941a4e037d394dada43e3c2beef1e650d5505742 (diff) | |
download | numpy-b354c005ccfe961e793ec4567e9cf6bbdca1b5f2.tar.gz |
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 6d9926d89..68d0a56e8 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -103,6 +103,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) @@ -172,7 +174,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 = [] |