mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 04:14:22 +02:00
Build windows releases with /MT rather than /MD
When making a release export of a project, binaries built with the /MD flag do not work.
This commit is contained in:
parent
c99a9b4a2e
commit
4cc2115125
4 changed files with 12 additions and 6 deletions
|
@ -128,7 +128,7 @@ elif env['platform'] == 'windows':
|
|||
if env['target'] == 'debug':
|
||||
env.Append(CCFLAGS=['/Z7', '/Od', '/EHsc', '/D_DEBUG', '/MDd'])
|
||||
elif env['target'] == 'release':
|
||||
env.Append(CCFLAGS=['/O2', '/EHsc', '/DNDEBUG', '/MD'])
|
||||
env.Append(CCFLAGS=['/O2', '/EHsc', '/DNDEBUG', '/MT'])
|
||||
|
||||
# On Windows, Linux, or MacOS using MinGW.
|
||||
elif host_platform == 'linux' or host_platform == 'osx':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue