blob: 2a2c884e552fe12c12194b3f8f2d3bc65b8f2804 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- third_party/angle/src/common/system_utils_posix.cpp.orig 2022-02-28 16:54:41 UTC
+++ third_party/angle/src/common/system_utils_posix.cpp
@@ -248,7 +248,9 @@ Library *OpenSharedLibraryWithExtensionAndGetError(con
int extraFlags = 0;
if (searchType == SearchType::AlreadyLoaded)
{
+#if !defined(__OpenBSD__)
extraFlags = RTLD_NOLOAD;
+#endif
}
std::string fullPath = directory + libraryName;
|