From: TimePath Date: Thu, 19 May 2016 11:12:08 +0000 (+1000) Subject: Use RTLD_DEEPBIND X-Git-Tag: xonotic-v0.8.2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=84fe6dcf112eec21940173fec694da653ab77afb;p=xonotic%2Fnetradiant.git Use RTLD_DEEPBIND Closes #67 --- diff --git a/radiant/server.cpp b/radiant/server.cpp index 1904867b..c58ad879 100644 --- a/radiant/server.cpp +++ b/radiant/server.cpp @@ -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() ) {