void-packages/srcpkgs/nodejs/patches/fix_v8_includes__git.patch
2012-06-28 01:16:46 -06:00

31 lines
899 B
Diff

diff --git a/configure b/configure
index 338ec3c..8dd6884 100755
--- configure
+++ configure
@@ -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):
diff --git a/node.gyp b/node.gyp
index 0816442..933812e 100644
--- node.gyp
+++ 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',