From cde5e45ac7e63445408b0a91db90f5b2093ae75d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 19 Aug 2007 19:22:14 +0000 Subject: [PATCH] From Antione Hue and Robert Osfield, moved prepend in front of lib entry. --- src/osgDB/Registry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 8b2b0209f..409faa824 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -584,9 +584,9 @@ std::string Registry::createLibraryNameForExtension(const std::string& ext) #if defined(WIN32) // !! recheck evolving Cygwin DLL extension naming protocols !! NHV #ifdef __CYGWIN__ - return "cyg"+prepend+"osgdb_"+lowercase_ext+".dll"; + return prepend+"cyg"+"osgdb_"+lowercase_ext+".dll"; #elif defined(__MINGW32__) - return "lib"+prepend+"osgdb_"+lowercase_ext+".dll"; + return prepend+"lib"+"osgdb_"+lowercase_ext+".dll"; #else #ifdef _DEBUG return prepend+"osgdb_"+lowercase_ext+"d.dll";