summaryrefslogtreecommitdiff
path: root/numpy/core/SConscript
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-11-06 07:32:24 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-11-06 07:32:24 +0000
commit9ea7dc1cfe1a75686f1c2a2724b91a69df256be0 (patch)
treecd93caa0e2570cf79cbe513d83c874b90b0501cf /numpy/core/SConscript
parentb3b081b903afddd5f7cc785114d23560b5031c5b (diff)
downloadnumpy-9ea7dc1cfe1a75686f1c2a2724b91a69df256be0.tar.gz
BUG: do not run long double check for darwin platform (universal build breaks it).
Diffstat (limited to 'numpy/core/SConscript')
-rw-r--r--numpy/core/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript
index 2177a8d8b..5c4e42eb8 100644
--- a/numpy/core/SConscript
+++ b/numpy/core/SConscript
@@ -100,7 +100,8 @@ for type in ('float', 'double', 'long double'):
sz = config.CheckTypeSize(complex_def)
numpyconfig_sym.append(('SIZEOF_COMPLEX_%s' % type2def(type), str(sz)))
-config.CheckLongDoubleRepresentation()
+if sys.platform != 'darwin':
+ config.CheckLongDoubleRepresentation()
for type in ('Py_intptr_t',):
check_type(type, include = "#include <Python.h>\n")