Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index c7fdacf68cbdcda312b2c31f854404e25ee9387c..84707e98475d514e15c10a8e9e62838627fe4232 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -663,8 +663,8 @@ def GuessToolchain(os): |
def GuessVisibility(os, toolchain): |
- if os == 'win32' and toolchain == 'gcc': |
- # MinGW can't do it. |
+ if (os == 'win32' or os == 'cygwin') and toolchain == 'gcc': |
+ # MinGW / Cygwin can't do it. |
return 'default' |
elif os == 'solaris': |
return 'default' |
@@ -685,7 +685,7 @@ SIMPLE_OPTIONS = { |
'help': 'the toolchain to use (%s)' % TOOLCHAIN_GUESS |
}, |
'os': { |
- 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd', 'solaris'], |
+ 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd', 'solaris', 'cygwin'], |
'default': OS_GUESS, |
'help': 'the os to build for (%s)' % OS_GUESS |
}, |