Browse Source

build: fix --shared-v8 option

v0.8.7-release
Ben Noordhuis 13 years ago
parent
commit
f00c8bcef8
  1. 1
      configure
  2. 7
      node.gyp

1
configure

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

@ -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…
Cancel
Save