Skip to content

Commit 1c4e4a6

Browse files
authored
DPL: allow searching for plugins in executables as well (#14118)
1 parent 210dc61 commit 1c4e4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/PluginManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct PluginManager {
8787
#else
8888
auto libraryName = fmt::format("lib{}.so", loadablePlugin.library);
8989
#endif
90-
auto ret = uv_dlopen(libraryName.c_str(), &handle);
90+
auto ret = uv_dlopen(loadablePlugin.library.empty() ? nullptr : libraryName.c_str(), &handle);
9191
if (ret != 0) {
9292
LOGP(error, "Could not load library {}", loadablePlugin.library);
9393
LOG(error) << uv_dlerror(&handle);

0 commit comments

Comments
 (0)