We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f97613 commit 2dca8adCopy full SHA for 2dca8ad
1 file changed
setup.py
@@ -296,8 +296,8 @@ def _install_from(self, folder: pathlib.Path):
296
(self.base_dir / "include").mkdir(exist_ok=True, parents=True)
297
shutil.move(folder / "include" / "zim", self.base_dir / "include" / "zim")
298
299
- # copy new libs
300
- for fpath in folder.joinpath("lib").rglob("libzim.*"):
+ # copy new libs (from lib/, lib/<arch> or lib64/)
+ for fpath in folder.rglob("lib*/**/libzim.*"):
301
print(f"{fpath} -> {libzim_dir / fpath.name}")
302
os.replace(fpath, libzim_dir / fpath.name)
303
# windows has different folder and name
0 commit comments