Ticket #456: patch.diff
File patch.diff, 776 bytes (added by , 14 years ago) |
---|
-
DllLoader.cpp
48 48 // note: on Windows, the extension is replaced with .dll by dlopen. 49 49 #ifndef NDEBUG 50 50 static const char* suffix = "_dbg.so"; 51 static const char* other_Suffix = ".so"; 51 52 #else 52 53 static const char* suffix = ".so"; 54 static const char* other_Suffix = "_dbg.so"; 53 55 #endif 54 56 55 57 // (This class is currently only used by 'Collada' and 'AtlasUI' which follow … … 89 91 90 92 m_Handle = dlopen(filename, flags); 91 93 94 if(! m_Handle) 95 { 96 filename = CStr(prefix) + m_Name + other_Suffix; 97 m_Handle = dlopen(filename, flags); 98 } 99 92 100 // open failed (mostly likely SO not found) 93 101 if (! m_Handle) 94 102 {