diff options
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r-- | Source/cmDynamicLoader.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx index 6c6dfc9..c997e38 100644 --- a/Source/cmDynamicLoader.cxx +++ b/Source/cmDynamicLoader.cxx @@ -344,7 +344,11 @@ const char* cmDynamicLoader::LibPrefix() const char* cmDynamicLoader::LibExtension() { +#ifdef __CYGWIN__ + return ".dll"; +#else return ".so"; +#endif } const char* cmDynamicLoader::LastError() |