3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

yosys: fix pyosys initialization segfault

This commit is contained in:
Emil J. Tywoniak 2024-10-17 22:21:50 +02:00
parent 799497ebba
commit 37e61b993a
2 changed files with 8 additions and 7 deletions

View file

@ -76,7 +76,7 @@ class libyosys_so_ext(Extension):
# yosys-abc
yosys_abc_target = os.path.join(pyosys_path, "yosys-abc")
shutil.copy("yosys-abc", yosys_abc_target)
bext.spawn(["strip", "-S", "yosys-abc"])
bext.spawn(["strip", "-S", yosys_abc_target])
# share directory
share_target = os.path.join(pyosys_path, "share")