Skip to content

Commit 54d80d9

Browse files
committed
Merge pull request opencv#19561 from mshabunin:plugin-load-now
2 parents db2cefd + b5a4bd2 commit 54d80d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/utils/plugin_loader.private.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ LibHandle_t libraryLoad_(const FileSystemPath_t& filename)
8080
return LoadLibraryW(filename.c_str());
8181
#endif
8282
#elif defined(__linux__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__HAIKU__) || defined(__GLIBC__)
83-
return dlopen(filename.c_str(), RTLD_LAZY);
83+
return dlopen(filename.c_str(), RTLD_NOW);
8484
#endif
8585
}
8686

0 commit comments

Comments
 (0)