summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-12 13:58:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-12 13:58:51 (GMT)
commit729e2a427a0bc3ac3867a80f1d9fdfb153868a52 (patch)
treebcc22e7f1f41fb862b67b1027a142b38fabaa3a6 /Source/kwsys
parent302d60371ad77d45294ec1c4cb2678f4ef2647b7 (diff)
downloadCMake-729e2a427a0bc3ac3867a80f1d9fdfb153868a52.zip
CMake-729e2a427a0bc3ac3867a80f1d9fdfb153868a52.tar.gz
CMake-729e2a427a0bc3ac3867a80f1d9fdfb153868a52.tar.bz2
BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
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<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;