summaryrefslogtreecommitdiff
blob: eb4d998d9b039dd7de156b23723149f8419666a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/v8/src/v8.gyp.orig b/v8/src/v8.gyp
index bcb5801..3162456 100644
--- a/v8/src/v8.gyp.orig
+++ b/v8/src/v8.gyp
@@ -48,8 +48,8 @@
         }, {
           'toolsets': ['target'],
         }],
-        ['component=="shared_library"', {
-          'type': '<(component)',
+        ['v8_target_type=="shared_library"', {
+          'type': 'shared_library',
           'sources': [
             # Note: on non-Windows we still build this file so that gyp
             # has some sources to link into the component.