Browse Source

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

unknown 6 years ago
parent
commit
73c588456c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SConstruct

+ 1 - 1
SConstruct

@@ -16,7 +16,7 @@ if sys.platform.startswith('linux'):
     host_platform = 'linux'
     host_platform = 'linux'
 elif sys.platform == 'darwin':
 elif sys.platform == 'darwin':
     host_platform = 'osx'
     host_platform = 'osx'
-elif sys.platform == 'win32':
+elif sys.platform == 'win32' or sys.platform == 'msys':
     host_platform = 'windows'
     host_platform = 'windows'
 else:
 else:
     raise ValueError(
     raise ValueError(