1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #19561 from mshabunin:plugin-load-now

This commit is contained in:
Alexander Alekhin
2021-02-19 11:53:04 +00:00
@@ -80,7 +80,7 @@ LibHandle_t libraryLoad_(const FileSystemPath_t& filename)
return LoadLibraryW(filename.c_str());
#endif
#elif defined(__linux__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__HAIKU__) || defined(__GLIBC__)
return dlopen(filename.c_str(), RTLD_LAZY);
return dlopen(filename.c_str(), RTLD_NOW);
#endif
}