scons: Unbreak mingw builds.
This commit is contained in:
@@ -438,7 +438,7 @@ def generate(env):
|
|||||||
linkflags += ['-m32']
|
linkflags += ['-m32']
|
||||||
if env['machine'] == 'x86_64':
|
if env['machine'] == 'x86_64':
|
||||||
linkflags += ['-m64']
|
linkflags += ['-m64']
|
||||||
if platform == 'windows':
|
if platform == 'windows' and msvc:
|
||||||
# See also:
|
# See also:
|
||||||
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
|
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
|
||||||
linkflags += [
|
linkflags += [
|
||||||
|
@@ -517,7 +517,7 @@ def generate(env):
|
|||||||
linkflags += ['-m32']
|
linkflags += ['-m32']
|
||||||
if env['machine'] == 'x86_64':
|
if env['machine'] == 'x86_64':
|
||||||
linkflags += ['-m64']
|
linkflags += ['-m64']
|
||||||
if platform == 'windows':
|
if platform == 'windows' and msvc:
|
||||||
# See also:
|
# See also:
|
||||||
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
|
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
|
||||||
linkflags += [
|
linkflags += [
|
||||||
|
Reference in New Issue
Block a user