mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 04:14:22 +02:00
parent
0dd2378387
commit
964af715d6
4 changed files with 12 additions and 5 deletions
|
@ -66,6 +66,14 @@ opts.Add(EnumVariable(
|
|||
opts.Update(env)
|
||||
Help(opts.GenerateHelpText(env))
|
||||
|
||||
# Allows 32bit builds on windows 64bit.
|
||||
if env['platform'] == 'windows':
|
||||
if env['bits'] == '64':
|
||||
env = Environment(TARGET_ARCH='amd64')
|
||||
elif env['bits'] == '32':
|
||||
env = Environment(TARGET_ARCH='x86')
|
||||
opts.Update(env)
|
||||
|
||||
# Add PATH to environment so scons can find commands such as g++, etc.
|
||||
env.AppendENVPath('PATH', os.getenv('PATH'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue