summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2017-08-15 05:51:56 +1200
committerRalf Gommers <ralf.gommers@googlemail.com>2017-08-15 05:51:56 +1200
commit7a05f44ece3f1dee518462bb2c4d09dbe83f9498 (patch)
tree19a46f92f8a8c62e1b73b6aa329d4c7d52e8e23b
parent22bd314b6e532ff54d3434959fea9d74d2073b44 (diff)
downloadnumpy-7a05f44ece3f1dee518462bb2c4d09dbe83f9498.tar.gz
BUG: fix regression in 1.13.x in distutils.mingw32ccompiler.
Issue was introduced in gh-8454. Thanks to @jennirinker for pointing out the issue and fix. Closes gh-9553.
-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 ec672e205..90b4def04 100644
--- a/numpy/distutils/mingw32ccompiler.py
+++ b/numpy/distutils/mingw32ccompiler.py
@@ -265,7 +265,7 @@ def find_python_dll():
lib_dirs = []
for stem in stems:
for folder in sub_dirs:
- lib_dirs = os.path.join(stem, folder)
+ lib_dirs.append(os.path.join(stem, folder))
# add system directory as well
if 'SYSTEMROOT' in os.environ: