summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-08-21 19:26:54 +0200
committerDavid Cournapeau <cournape@gmail.com>2011-08-29 00:32:28 +0200
commit3eda301e5d925beca6170686ae2b01f86d707ade (patch)
treef1cdd5b81677b5ebdf7a2c74a63eb0ef1e5f6ca3
parent512df8b5686c70df49f0d51966e76430fe7aa63f (diff)
downloadnumpy-3eda301e5d925beca6170686ae2b01f86d707ade.tar.gz
BUG: temp hack to circumvent a waf bug on win32 ?
-rw-r--r--numpy/core/bscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/bscript b/numpy/core/bscript
index 24b96902a..eab9e6c4d 100644
--- a/numpy/core/bscript
+++ b/numpy/core/bscript
@@ -201,7 +201,8 @@ def check_math_runtime(conf):
#conf.check_functions_at_once(mfuncs, use="M")
header_name = "Python.h math.h"
- features = "c pyext"
+ # XXX: with MSVC compiler, one needs to have cprogram defined. Find out why.
+ features = "c pyext cprogram"
for f in OPTIONAL_STDFUNCS_MAYBE:
try:
conf.check_declaration("HAVE_%s" % numpy.build_utils.waf.sanitize_string(f),