diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-02 13:31:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | a65048dfd28ed25c66949eefcd666ecd0dbf7429 (patch) | |
| tree | 141073e2d3155277a1f20e2c9fa1ae368712e85b | |
| parent | 662437c465db540973fffe94a1cdb54142b7d223 (diff) | |
Fix Windows console apps to actually have a console.
| -rw-r--r-- | src/tools/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wscript b/src/tools/wscript index a185974c6..49b339218 100644 --- a/src/tools/wscript +++ b/src/tools/wscript @@ -61,7 +61,7 @@ def build(bld): if bld.env.TARGET_WINDOWS and t == 'dcpomatic_disk_writer': obj.source += ' ../../platform/windows/%s.rc' % t # Prevent a console window opening when we start dcpomatic2_disk_writer - bld.env.LINKFLAGS.append('-Wl,-subsystem,windows') + obj.env.append_value('LINKFLAGS', '-Wl,-subsystem,windows') obj.target = t.replace('dcpomatic', 'dcpomatic2').replace('swaroop_', '') if t == 'server_test': obj.install_path = None |
