mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-22 15:34:36 +00:00
fix dlopen using fs:path with mingw
This commit is contained in:
parent
061b6ce2ad
commit
db8c1878a0
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void load_plugin(std::string filename, std::vector<std::string> aliases)
|
||||||
if (potential_path.extension() != ".so") {
|
if (potential_path.extension() != ".so") {
|
||||||
potential_path = search_path / (orig_filename + ".so");
|
potential_path = search_path / (orig_filename + ".so");
|
||||||
}
|
}
|
||||||
hdl = dlopen(potential_path.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
hdl = dlopen(potential_path.string().c_str(), RTLD_LAZY | RTLD_LOCAL);
|
||||||
if (hdl != nullptr) {
|
if (hdl != nullptr) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue