mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-24 21:16:51 +00:00
Merge 53eae2f555 into 64a933d77b
This commit is contained in:
commit
89a8a8752d
1 changed files with 2 additions and 0 deletions
|
|
@ -626,6 +626,8 @@ void init_share_dirname()
|
|||
return;
|
||||
}
|
||||
# ifdef YOSYS_DATDIR
|
||||
if (std::getenv("YOSYS_DATDIR"))
|
||||
return std::getenv("YOSYS_DATDIR");
|
||||
proc_share_path = YOSYS_DATDIR "/";
|
||||
if (check_directory_exists(proc_share_path, true)) {
|
||||
yosys_share_dirname = proc_share_path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue