mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-18 22:59:03 +00:00
Merge 53eae2f555
into 8bde6ac17c
This commit is contained in:
commit
69fd9e065e
|
@ -569,6 +569,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_file_exists(proc_share_path, true)) {
|
||||
yosys_share_dirname = proc_share_path;
|
||||
|
|
Loading…
Reference in a new issue