Index: src/d8.gyp |
diff --git a/src/d8.gyp b/src/d8.gyp |
index bc1dedca0fe0bf6e5ba282d0d1e10dd3302f6ef1..b9ea7639dc9bb346dfcefa8a80c04e6bb12a0254 100644 |
--- a/src/d8.gyp |
+++ b/src/d8.gyp |
@@ -48,7 +48,17 @@ |
'sources': [ |
'd8.cc', |
], |
+ 'target_conditions': [ |
+ [ '_toolset == "host"', { |
+ 'product_dir': '<(PRODUCT_DIR)/host', |
+ }], |
+ ], |
'conditions': [ |
+ [ 'want_separate_host_toolset==1', { |
+ 'toolsets': ['host', 'target'], |
+ }, { |
+ 'toolsets': ['target'], |
+ }], |
[ 'console=="readline"', { |
'libraries': [ '-lreadline', ], |
'sources': [ 'd8-readline.cc' ], |