summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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