Skip to content

Commit 2dca8ad

Browse files
committed
fixed libzim bin in lib64/ and lib/<arch>/ folders
1 parent 1f97613 commit 2dca8ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ def _install_from(self, folder: pathlib.Path):
296296
(self.base_dir / "include").mkdir(exist_ok=True, parents=True)
297297
shutil.move(folder / "include" / "zim", self.base_dir / "include" / "zim")
298298

299-
# copy new libs
300-
for fpath in folder.joinpath("lib").rglob("libzim.*"):
299+
# copy new libs (from lib/, lib/<arch> or lib64/)
300+
for fpath in folder.rglob("lib*/**/libzim.*"):
301301
print(f"{fpath} -> {libzim_dir / fpath.name}")
302302
os.replace(fpath, libzim_dir / fpath.name)
303303
# windows has different folder and name

0 commit comments

Comments
 (0)