summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-12-19 08:28:49 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-12-19 08:28:49 +0000
commitdf2acae5a4bcbc4c76ebbeefcfb07f59c9ee2914 (patch)
treea69a6a217e42b0d8d0491a7b58768b94751f57bf
parent28e95dbda19f6d438a883c280fe21c9e40fa7f46 (diff)
downloadnumpy-df2acae5a4bcbc4c76ebbeefcfb07f59c9ee2914.tar.gz
Fix typo when getting system32 location.
-rw-r--r--numpy/distutils/mingw32ccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py
index 310d44ce4..5769577e0 100644
--- a/numpy/distutils/mingw32ccompiler.py
+++ b/numpy/distutils/mingw32ccompiler.py
@@ -201,7 +201,7 @@ def find_python_dll():
lib_dirs = []
lib_dirs.append(os.path.join(sys.prefix, 'lib'))
try:
- lib_dirs.append(os.path.join(os.environ['SYSTEM_ROOT'], 'system32'))
+ lib_dirs.append(os.path.join(os.environ['SYSTEMROOT'], 'system32'))
except KeyError:
pass