8000 Merge pull request #10128 from xoviat/system-info-libraries · eric-wieser/numpy@7bb2d5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7bb2d5a

Browse files
authored
Merge pull request numpy#10128 from xoviat/system-info-libraries
BUG: Prefix library names with `lib` on windows.
2 parents 0131a3b + 70572e4 commit 7bb2d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numpy/distutils/system_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,8 @@ def _find_lib(self, lib_dir, lib, exts):
804804
# doesn't seem correct
805805
if ext == '.dll.a':
806806
lib += '.dll'
807+
if ext == '.lib':
808+
lib = prefix + lib
807809
return lib
808810

809811
return False

0 commit comments

Comments
 (0)
0