Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
win,cctest: link as console subsystem
Browse files Browse the repository at this point in the history
Otherwise default subsystem links to "wmain". cctest only has "main" in
gtest_main.cc.

Fixes build failure on arm.

Reviewed-by: @kunalspathak
  • Loading branch information
Jianchun Xu committed Sep 1, 2015
1 parent c10332c commit 7a1fb01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,11 @@
'dependencies': [ 'deps/chakrashim/chakrashim.gyp:chakrashim' ],
}],
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': 1, # /subsystem:console
},
},
'defines': [
# gtest's ASSERT macros conflict with our own.
'GTEST_DONT_DEFINE_ASSERT_EQ=1',
Expand Down

0 comments on commit 7a1fb01

Please sign in to comment.