build: fix --shared-v8 option
This commit is contained in:
parent
21aa0df8b2
commit
f00c8bcef8
1
configure
vendored
1
configure
vendored
@ -330,7 +330,6 @@ def configure_v8(o):
|
|||||||
o['libraries'] += ['-lv8']
|
o['libraries'] += ['-lv8']
|
||||||
if options.shared_v8_includes:
|
if options.shared_v8_includes:
|
||||||
o['include_dirs'] += [options.shared_v8_includes]
|
o['include_dirs'] += [options.shared_v8_includes]
|
||||||
o['variables']['node_shared_v8_includes'] = options.shared_v8_includes
|
|
||||||
|
|
||||||
|
|
||||||
def configure_openssl(o):
|
def configure_openssl(o):
|
||||||
|
7
node.gyp
7
node.gyp
@ -177,12 +177,7 @@
|
|||||||
'<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.rc',
|
'<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.rc',
|
||||||
]
|
]
|
||||||
} ],
|
} ],
|
||||||
[ 'node_shared_v8=="true"', {
|
[ 'node_shared_v8=="false"', {
|
||||||
'sources': [
|
|
||||||
'<(node_shared_v8_includes)/v8.h',
|
|
||||||
'<(node_shared_v8_includes)/v8-debug.h',
|
|
||||||
],
|
|
||||||
}, {
|
|
||||||
'sources': [
|
'sources': [
|
||||||
'deps/v8/include/v8.h',
|
'deps/v8/include/v8.h',
|
||||||
'deps/v8/include/v8-debug.h',
|
'deps/v8/include/v8-debug.h',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user