From 729e2a427a0bc3ac3867a80f1d9fdfb153868a52 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 12 Feb 2004 08:58:51 -0500 Subject: BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library --- Source/kwsys/SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 59b2dff..ac5c1b0 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1199,7 +1199,7 @@ kwsys_stl::string SystemTools::FindLibrary(const char* name, for(kwsys_stl::vector::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; -- cgit v0.12