Permalink
Browse files

Revert "Fix startup crash in x86 Linux builds"

This reverts commit b2ad4f7.
  • Loading branch information...
Jusonex committed Jul 19, 2017
1 parent 5672f84 commit e95a79cc4d9c29e5c97ca699e32fd236bf3bcea2
@@ -86,7 +86,7 @@ bool CDynamicLibrary::Load ( const char* szFilename )
LocalFree ( lpMsgBuf );
}
#else
m_hModule = dlopen ( szFilename, RTLD_NOW | RTLD_DEEPBIND );
m_hModule = dlopen ( szFilename, RTLD_NOW );
// Output error if needed
if ( !m_hModule )
@@ -39,7 +39,7 @@ bool CDynamicLibrary::Load ( const char* szFilename )
#ifdef WIN32
m_hModule = LoadLibrary ( szFilename );
#else
m_hModule = dlopen ( szFilename, RTLD_NOW | RTLD_DEEPBIND );
m_hModule = dlopen ( szFilename, RTLD_NOW );
// Output error if needed
if ( !m_hModule )
@@ -46,7 +46,7 @@ bool CDynamicLibrary::Load ( const char* szFilename )
}
#else
m_hModule = dlopen ( szFilename, RTLD_NOW | RTLD_DEEPBIND );
m_hModule = dlopen ( szFilename, RTLD_NOW );
// Output error if needed
if ( !m_hModule )
@@ -79,7 +79,7 @@ int CLuaModule::_LoadModule ( void )
strError = SString( "%d", GetLastError() );
SetCurrentDirectory( strSavedCurrentDirectory );
#else
m_hModule = dlopen ( m_szFileName, RTLD_NOW | RTLD_DEEPBIND );
m_hModule = dlopen ( m_szFileName, RTLD_NOW );
if ( m_hModule == NULL )
strError = dlerror();
#endif

0 comments on commit e95a79c

Please sign in to comment.