]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Use RTLD_DEEPBIND
authorTimePath <andrew.hardaker1995@gmail.com>
Thu, 19 May 2016 11:12:08 +0000 (21:12 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Thu, 19 May 2016 11:12:08 +0000 (21:12 +1000)
Closes #67

radiant/server.cpp

index 1904867b949c0eeec93aacf717a4853d975f022a..c58ad8799d497a40c382af2664358e03ecd4b7a4 100644 (file)
@@ -151,7 +151,7 @@ public:
 typedef int ( *FunctionPointer )();
 
 DynamicLibrary( const char* filename ){
-       m_library = dlopen( filename, RTLD_NOW );
+       m_library = dlopen( filename, RTLD_NOW | (RTLD_DEEPBIND + 0) );
 }
 ~DynamicLibrary(){
        if ( !failed() ) {