Skip to content

Commit

Permalink
build,win: WHOLEARCHIVE needs just lib name
Browse files Browse the repository at this point in the history
* Fixes ninja build

PR-URL: #22698
Reviewed-By: João Reis <reis@janeasystems.com>
  • Loading branch information
refack authored and targos committed Sep 12, 2018
1 parent d03ce9d commit b3bc642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
'/WHOLEARCHIVE:<(PRODUCT_DIR)\\lib\\'
'<(node_core_target_name)<(STATIC_LIB_SUFFIX)',
'/WHOLEARCHIVE:<(node_core_target_name)<(STATIC_LIB_SUFFIX)',
],
},
},
Expand Down
6 changes: 3 additions & 3 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
'/WHOLEARCHIVE:<(PRODUCT_DIR)\\lib\\zlib<(STATIC_LIB_SUFFIX)',
'/WHOLEARCHIVE:zlib<(STATIC_LIB_SUFFIX)',
],
},
},
Expand Down Expand Up @@ -179,7 +179,7 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
'/WHOLEARCHIVE:<(PRODUCT_DIR)\\lib\\libuv<(STATIC_LIB_SUFFIX)',
'/WHOLEARCHIVE:libuv<(STATIC_LIB_SUFFIX)',
],
},
},
Expand Down Expand Up @@ -313,7 +313,7 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
'/WHOLEARCHIVE:<(PRODUCT_DIR)\\lib\\<(openssl_product)',
'/WHOLEARCHIVE:<(openssl_product)',
],
},
},
Expand Down

0 comments on commit b3bc642

Please sign in to comment.