]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/server.cpp
Ensure plugins load their own functions
[xonotic/netradiant.git] / radiant / server.cpp
index 10e9cf735595ed2860e2159987beaac2ea10b849..00221d7d7d165f49621a042f8b5bdd73593e19ce 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_LOCAL|RTLD_DEEPBIND );
        if ( !m_library )
        {
                globalErrorStream() << "LoadLibrary failed: '" << filename << "'\n";