Remove RTLD_DEEPBIND
This commit is contained in:
parent
f02f3bff31
commit
dd6e4b3091
|
|
@ -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() ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user