Remove RTLD_DEEPBIND

This commit is contained in:
Garux 2021-11-14 21:16:58 +03:00
parent f02f3bff31
commit dd6e4b3091

View File

@ -147,10 +147,6 @@ public:
#include <dlfcn.h> #include <dlfcn.h>
#ifndef RTLD_DEEPBIND
#define RTLD_DEEPBIND 0
#endif
class DynamicLibrary class DynamicLibrary
{ {
void* m_library; void* m_library;
@ -158,7 +154,7 @@ public:
typedef int ( *FunctionPointer )(); typedef int ( *FunctionPointer )();
DynamicLibrary( const char* filename ){ DynamicLibrary( const char* filename ){
m_library = dlopen( filename, RTLD_NOW | (RTLD_DEEPBIND + 0) ); m_library = dlopen( filename, RTLD_NOW );
} }
~DynamicLibrary(){ ~DynamicLibrary(){
if ( !failed() ) { if ( !failed() ) {