From 54486d452cc168615bd0271e20c775447311c365 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Thu, 30 Jul 2015 12:54:22 +0200 Subject: [PATCH] Ensure plugins load their own functions --- radiant/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2