projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662437c
)
Fix Windows console apps to actually have a console.
author
Carl Hetherington
<cth@carlh.net>
Fri, 2 Oct 2020 11:31:35 +0000
(13:31 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000
(18:51 +0200)
src/tools/wscript
patch
|
blob
|
history
diff --git
a/src/tools/wscript
b/src/tools/wscript
index a185974c6c731946dbe3a054f0ffb219578e6513..49b339218044fab9baa73081ee4c84db6a249328 100644
(file)
--- 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