aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-29 01:24:34 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commitfa358bcce18c4c6b343eb2a82475d76a6638096a (patch)
tree551860f79dd069c61fcff666e938d73d73e731c3 /include
parentcc0f3bf97a5138e8c4f2e121f304eda7beac56a9 (diff)
Use system specific extension for generated files
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index ee61a21..39978a1 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -155,7 +155,11 @@ namespace sibs
const Platform SYSTEM_PLATFORM = PLATFORM_LINUX64;
#endif
#define CONFIG_STATIC_LIB_FILE_EXTENSION "a"
- #define CONFIG_DYNAMIC_LIB_FILE_EXTENSION "so"
+ #ifdef __CYGWIN__
+ #define CONFIG_DYNAMIC_LIB_FILE_EXTENSION "dll"
+ #else
+ #define CONFIG_DYNAMIC_LIB_FILE_EXTENSION "so"
+ #endif
#elif OS_TYPE == OS_TYPE_APPLE
#ifdef SIBS_ENV_32BIT
const Platform SYSTEM_PLATFORM = PLATFORM_MACOS32;