Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/interpose_thread.cfa

    rc910709 r8bb46d2  
    3939        const char version[]
    4040) libcfa_public {
    41         static void * library;
     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 );
    4247        if ( ! library ) {
    43                 library = dlopen( "libpthread.so", RTLD_LAZY );
    4448                const char * error = dlerror();
    4549                if ( error ) {
     
    4751                }
    4852        } // if
     53        #endif // RTLD_NEXT
    4954
    5055        return do_interpose_symbol(library, symbol, version);
Note: See TracChangeset for help on using the changeset viewer.