Changeset 199

Show
Ignore:
Timestamp:
01/08/07 23:09:07 (2 years ago)
Author:
Alan Knowles
Message:

apply non-dev patch to correct file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wrap/Loader.d

    r179 r199  
    172172        { 
    173173            handle = dlopen( (this.libraryName ~ "\0").ptr, RTLD_NOW); 
     174            if (handle is null)  
     175            {  
     176                // non-dev libraries tend to be called xxxx.so.0  
     177                handle = dlopen( (this.libraryName ~ ".0\0").ptr, RTLD_NOW);  
     178            }  
    174179            if ( alternateLibraryName !is null ) 
    175180            {