BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library

This commit is contained in:
Andy Cedilnik 2004-02-12 08:58:51 -05:00
parent 302d60371a
commit 729e2a427a

View File

@ -1199,7 +1199,7 @@ kwsys_stl::string SystemTools::FindLibrary(const char* name,
for(kwsys_stl::vector<kwsys_stl::string>::const_iterator p = path.begin();
p != path.end(); ++p)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
tryPath = *p;
tryPath += "/";
tryPath += name;