gentoo-overlay/dev-util/electron/files/chromium-shared-v8-r1.patch

15 lines
523 B
Diff

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.