]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/server.cpp
contrib: fix bobToolz loading
[xonotic/netradiant.git] / radiant / server.cpp
index c9e0778035cc4439b44aa3deeaa1287401b11e0f..993472ae6234f0a415c1d684eac09e5bab97890b 100644 (file)
@@ -156,7 +156,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() ) {
@@ -178,9 +178,9 @@ FunctionPointer findSymbol( const char* symbol ){
 }
 };
 
-#else
+#else // !GDEF_OS_POSIX
 #error "unsupported platform"
-#endif
+#endif // !GDEF_OS_POSIX
 
 class DynamicLibraryModule
 {