diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-28 10:33:44 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-28 10:33:44 +0000 |
commit | 821e6e9198509c1843ab83f93418c92903973b62 (patch) | |
tree | 28c85c97b7c523e2cf823795914da37f4b985a8f /numpy/core/setup.py | |
parent | 1c6f114c5ff5ea05daffbc15b46def81b05f2c96 (diff) | |
download | numpy-821e6e9198509c1843ab83f93418c92903973b62.tar.gz |
Trying to fix inconsisted dll linkage warning, 6.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 8f3d8e07a..36caa693a 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -107,7 +107,9 @@ def configuration(parent_package='',top_path=None): if sys.platform=='win32' or os.name=='nt': from distutils.msvccompiler import get_build_architecture - if get_build_architecture() == 'AMD64': + a = get_build_architecture() + print 'BUILD_ARCHITECTURE: %r, os.name=%r, sys.platform=%r' % (a, os.name, sys.platform) + if a == 'AMD64': moredefs.append('DISTUTILS_USE_SDK') if sys.version[:3] < '2.4': |