scons: Unbreak mingw builds.

This commit is contained in:
José Fonseca
2009-02-12 12:59:58 +00:00
parent b93d305725
commit 6fe421cf46
2 changed files with 2 additions and 2 deletions

View File

@@ -438,7 +438,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 += [

View File

@@ -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 += [