summaryrefslogtreecommitdiff
path: root/scons/generic.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/generic.py')
-rw-r--r--scons/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/generic.py b/scons/generic.py
index 31a4a79594..7592222fd6 100644
--- a/scons/generic.py
+++ b/scons/generic.py
@@ -517,7 +517,7 @@ def generate(env):
linkflags += ['-m32']
if env['machine'] == 'x86_64':
linkflags += ['-m64']
- if platform == 'windows':
+ if platform == 'windows' and msvc:
# See also:
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
linkflags += [