mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-03 01:40:23 +00:00
Merge 53eae2f555
into 366cb5e6dd
This commit is contained in:
commit
580dc53eae
1 changed files with 2 additions and 0 deletions
|
@ -578,6 +578,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