Changeset 9954

Show
Ignore:
Timestamp:
03/23/09 17:15:55 (6 years ago)
Author:
robert
Message:

From Eric Sokolowsky, "The attached Registry.cpp fixes OSG under OSX when a library suffix string is used, as is selected by default with cmake.
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgDB/Registry.cpp

    r9884 r9954  
    684684    #endif 
    685685#elif macintosh 
    686     return prepend+"osgdb_"+lowercase_ext; 
     686    #ifdef _DEBUG 
     687        return prepend+"osgdb_"+lowercase_ext+ OSG_DEBUG_POSTFIX_WITH_QUOTES; 
     688    #else 
     689        return prepend+"osgdb_"+lowercase_ext; 
     690    #endif 
    687691#elif defined(__hpux__) 
    688692    // why don't we use PLUGIN_EXT from the makefiles here? 
     
    711715    #endif 
    712716#elif macintosh 
    713     return name; 
     717    #ifdef _DEBUG 
     718        return name+OSGDEBUG_POSTFIX_WITH_QUOTES; 
     719    #else 
     720        return name; 
     721    #endif 
    714722#elif defined(__hpux__) 
    715723    // why don't we use PLUGIN_EXT from the makefiles here?