From: Mattia Basaglia Date: Thu, 30 Jul 2015 10:54:22 +0000 (+0200) Subject: Ensure plugins load their own functions X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=54486d452cc168615bd0271e20c775447311c365;p=xonotic%2Fnetradiant.git Ensure plugins load their own functions --- diff --git a/radiant/server.cpp b/radiant/server.cpp index 10e9cf73..00221d7d 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_LOCAL|RTLD_DEEPBIND ); if ( !m_library ) { globalErrorStream() << "LoadLibrary failed: '" << filename << "'\n";