summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-11 15:09:33 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-11 15:09:33 (GMT)
commit6420337317f2e11bbbbc703728fad93f8749a094 (patch)
tree9f32cd740f45f8262b03d34ecbd02d8df14e88e7 /Source
parent46096c08a5a21c16cbad7d132711348607ee5034 (diff)
downloadCMake-6420337317f2e11bbbbc703728fad93f8749a094.zip
CMake-6420337317f2e11bbbbc703728fad93f8749a094.tar.gz
CMake-6420337317f2e11bbbbc703728fad93f8749a094.tar.bz2
BUG: Fix for MINGW32
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/DynamicLoader.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx
index fcd4df3..887f5ab 100644
--- a/Source/kwsys/DynamicLoader.cxx
+++ b/Source/kwsys/DynamicLoader.cxx
@@ -277,7 +277,11 @@ DynamicLoaderFunction DynamicLoader::GetSymbolAddress(LibHandle lib, const char*
//----------------------------------------------------------------------------
const char* DynamicLoader::LibPrefix()
{
+#ifdef __MINGW32__
+ return "lib";
+#else
return "";
+#endif
}
//----------------------------------------------------------------------------