Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/interpose_thread.cfa

    r8bb46d2 rc910709  
    3939        const char version[]
    4040) 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;
    4742        if ( ! library ) {
     43                library = dlopen( "libpthread.so", RTLD_LAZY );
    4844                const char * error = dlerror();
    4945                if ( error ) {
     
    5147                }
    5248        } // if
    53         #endif // RTLD_NEXT
    5449
    5550        return do_interpose_symbol(library, symbol, version);
Note: See TracChangeset for help on using the changeset viewer.