mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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']
|
||||
if 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):
|
||||
|
7
node.gyp
7
node.gyp
@ -177,12 +177,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/node_etw_provider.rc',
|
||||
]
|
||||
} ],
|
||||
[ 'node_shared_v8=="true"', {
|
||||
'sources': [
|
||||
'<(node_shared_v8_includes)/v8.h',
|
||||
'<(node_shared_v8_includes)/v8-debug.h',
|
||||
],
|
||||
}, {
|
||||
[ 'node_shared_v8=="false"', {
|
||||
'sources': [
|
||||
'deps/v8/include/v8.h',
|
||||
'deps/v8/include/v8-debug.h',
|
||||
|
Loading…
Reference in New Issue
Block a user