Python package: fix install of static libs on Windows (#43564)
This commit is contained in:
parent
feff11f914
commit
309d3aa1ec
1 changed files with 2 additions and 1 deletions
|
@ -545,7 +545,8 @@ def win_installer(self, prefix):
|
|||
copy(lib, prefix)
|
||||
else:
|
||||
copy(lib, prefix.DLLs)
|
||||
static_libraries = glob.glob("%s\\*.lib")
|
||||
static_libraries = glob.glob("%s\\*.lib" % build_root)
|
||||
os.makedirs(prefix.libs, exist_ok=True)
|
||||
for lib in static_libraries:
|
||||
copy(lib, prefix.libs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue