summaryrefslogtreecommitdiff
path: root/dev-util/electron/files/chromium-shared-v8-r1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/electron/files/chromium-shared-v8-r1.patch')
-rw-r--r--dev-util/electron/files/chromium-shared-v8-r1.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/electron/files/chromium-shared-v8-r1.patch b/dev-util/electron/files/chromium-shared-v8-r1.patch
new file mode 100644
index 000000000000..eb4d998d9b03
--- /dev/null
+++ b/dev-util/electron/files/chromium-shared-v8-r1.patch
@@ -0,0 +1,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.