build: fix --shared-v8 option

This commit is contained in:
Ben Noordhuis 2012-06-27 00:33:50 +02:00
parent 21aa0df8b2
commit f00c8bcef8
2 changed files with 1 additions and 7 deletions

1
configure vendored
View File

@ -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):

View File

@ -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',