Changes in libcfa/src/interpose_thread.cfa [8bb46d2:c910709]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/interpose_thread.cfa
r8bb46d2 rc910709 39 39 const char version[] 40 40 ) libcfa_public { 41 void * library; 42 #if defined( RTLD_NEXT ) 43 library = RTLD_NEXT; 44 #else 45 // missing RTLD_NEXT => must hard-code library name, assuming libstdc++ 46 library = dlopen( "libthread_db.so", RTLD_LAZY ); 41 static void * library; 47 42 if ( ! library ) { 43 library = dlopen( "libpthread.so", RTLD_LAZY ); 48 44 const char * error = dlerror(); 49 45 if ( error ) { … … 51 47 } 52 48 } // if 53 #endif // RTLD_NEXT54 49 55 50 return do_interpose_symbol(library, symbol, version);
Note:
See TracChangeset
for help on using the changeset viewer.