summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/gnu.py
diff options
context:
space:
mode:
authorgfyoung <gfyoung@mit.edu>2016-01-25 22:05:04 +0000
committergfyoung <gfyoung@mit.edu>2016-01-25 22:05:26 +0000
commitbce84bb6fbfc7d26b209fb38247b64f7faeb739f (patch)
tree967a6c6105a09a02eb8feadb656aa04ee968f45f /numpy/distutils/fcompiler/gnu.py
parent471bab33bbfac24df42221b5c5739a190ca4018e (diff)
downloadnumpy-bce84bb6fbfc7d26b209fb38247b64f7faeb739f.tar.gz
BUG: Fixed mingw.lib error
Closes gh-647.
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index 37be0800d..9ba5759df 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -313,7 +313,7 @@ class Gnu95FCompiler(GnuFCompiler):
if target:
d = os.path.normpath(self.get_libgcc_dir())
root = os.path.join(d, *((os.pardir,)*4))
- path = os.path.join(root, target, "lib")
+ path = os.path.join(root, "lib")
mingwdir = os.path.normpath(path)
if os.path.exists(os.path.join(mingwdir, "libmingwex.a")):
opt.append(mingwdir)