summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorunknown <silverkorn@gmail.com>2019-05-15 21:09:39 -0400
committerunknown <silverkorn@gmail.com>2019-05-15 21:09:39 -0400
commit73c588456c60b1ed33de15974babba59e8792b2f (patch)
treeaff3ede271cec89a858a19958350fcfdf26edcae
parent04548011e38a74fda5640ba7ec02ff74caae43f8 (diff)
downloadredot-cpp-73c588456c60b1ed33de15974babba59e8792b2f.tar.gz
Add MSYS/MinGW compiling support on Windows
Tested successfully with MSYS2 with the following command: scons platform=windows generate_bindings=yes use_mingw=1 bits=64
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 116a3d7..68622ce 100644
--- a/SConstruct
+++ b/SConstruct
@@ -16,7 +16,7 @@ if sys.platform.startswith('linux'):
host_platform = 'linux'
elif sys.platform == 'darwin':
host_platform = 'osx'
-elif sys.platform == 'win32':
+elif sys.platform == 'win32' or sys.platform == 'msys':
host_platform = 'windows'
else:
raise ValueError(