diff --git a/common.gypi b/common.gypi index d13a56524d..8725fbf363 100644 --- a/common.gypi +++ b/common.gypi @@ -88,6 +88,11 @@ 'DataExecutionPrevention': 2, # enable DEP 'AllowIsolation': 'true', 'SuppressStartupBanner': 'true', + 'target_conditions': [ + ['_type=="executable"', { + 'SubSystem': 1, # console executable + }], + ], }, }, 'conditions': [