From dd6e4b3091d962bb207d3b2461d1c9894b4357be Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 14 Nov 2021 21:16:58 +0300 Subject: [PATCH] Remove RTLD_DEEPBIND --- radiant/server.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/radiant/server.cpp b/radiant/server.cpp index af38afa3..81ea5efa 100644 --- a/radiant/server.cpp +++ b/radiant/server.cpp @@ -147,10 +147,6 @@ public: #include -#ifndef RTLD_DEEPBIND -#define RTLD_DEEPBIND 0 -#endif - class DynamicLibrary { void* m_library; @@ -158,7 +154,7 @@ public: typedef int ( *FunctionPointer )(); DynamicLibrary( const char* filename ){ - m_library = dlopen( filename, RTLD_NOW | (RTLD_DEEPBIND + 0) ); + m_library = dlopen( filename, RTLD_NOW ); } ~DynamicLibrary(){ if ( !failed() ) {