Skip to content

Commit 766430c

Browse files
DrPizzapiscisaureus
authored andcommitted
Windows: set executables to be console programs
closes nodejs#1644
1 parent bc0a552 commit 766430c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common.gypi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@
8888
'DataExecutionPrevention': 2, # enable DEP
8989
'AllowIsolation': 'true',
9090
'SuppressStartupBanner': 'true',
91+
'target_conditions': [
92+
['_type=="executable"', {
93+
'SubSystem': 1, # console executable
94+
}],
95+
],
9196
},
9297
},
9398
'conditions': [

0 commit comments

Comments
 (0)