Use RTLD_DEEPBIND

Closes #67
This commit is contained in:
TimePath
2016-05-19 21:12:08 +10:00
parent 3ecc3113ae
commit 84fe6dcf11
+1 -1
View File
@@ -151,7 +151,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() ) {