diff options
author | William D. Jones <thor0505@comcast.net> | 2016-08-16 14:41:37 -0400 |
---|---|---|
committer | William D. Jones <thor0505@comcast.net> | 2016-08-16 14:41:59 -0400 |
commit | 5299b170568bd1de71c906eeb8929a053febc039 (patch) | |
tree | af6dcf4248b2fba5e4e67ae3241fa1715a7c6b86 /kernel/yosys.cc | |
parent | 5767e4bc4db8d70bd02945769b6784618f7d003a (diff) | |
download | yosys-5299b170568bd1de71c906eeb8929a053febc039.tar.gz yosys-5299b170568bd1de71c906eeb8929a053febc039.tar.bz2 yosys-5299b170568bd1de71c906eeb8929a053febc039.zip |
Add MSYS2-compatible build.
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r-- | kernel/yosys.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index 42ccf13f7..17f6847b5 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -687,7 +687,7 @@ std::string proc_share_dirname() std::string proc_share_dirname() { std::string proc_self_path = proc_self_dirname(); -# ifdef _WIN32 +# if defined(_WIN32) && !defined(YOSYS_WIN32_UNIX_DIR) std::string proc_share_path = proc_self_path + "share\\"; if (check_file_exists(proc_share_path, true)) return proc_share_path; @@ -1130,4 +1130,3 @@ struct ScriptCmdPass : public Pass { } ScriptCmdPass; YOSYS_NAMESPACE_END - |