Remove patch now that we have RTLD_NOLOAD.
Brad sent the same diff a few days ago ok sthen@ rsadowski@
This commit is contained in:
parent
0a1b363751
commit
8cf19e3562
@ -8,6 +8,7 @@ DISTNAME = fs2open-${V}
|
||||
GH_ACCOUNT = scp-fs2open
|
||||
GH_PROJECT = fs2open.github.com
|
||||
GH_TAGNAME = release_${V:S/./_/g}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = games
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
we don't have RTLD_NOLOAD
|
||||
|
||||
Index: code/libs/renderdoc/renderdoc.cpp
|
||||
--- code/libs/renderdoc/renderdoc.cpp.orig
|
||||
+++ code/libs/renderdoc/renderdoc.cpp
|
||||
@@ -14,7 +14,7 @@ RENDERDOC_API_1_1_1* api = nullptr;
|
||||
|
||||
pRENDERDOC_GetAPI load_getAPI() {
|
||||
#ifdef SCP_UNIX
|
||||
- auto handle = dlopen("librenderdoc.so", RTLD_NOLOAD);
|
||||
+ auto handle = dlopen("librenderdoc.so", RTLD_LAZY);
|
||||
auto symbol = dlsym(handle, "RENDERDOC_GetAPI");
|
||||
|
||||
if (handle != nullptr) {
|
Loading…
x
Reference in New Issue
Block a user