Remove RTLD_DEEPBIND
This commit is contained in:
parent
f02f3bff31
commit
dd6e4b3091
|
|
@ -147,10 +147,6 @@ public:
|
|||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#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() ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user