toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / nodejs / 6.9.4 / 0002-inspector-don-t-build-when-ssl-support-is-disabled.patch
blobc07cbf8c65052ecf1b0cc04944138e48906793fd
1 From 7fa541f6c0a31e3ddcab6ea85040b531bbaa4651 Mon Sep 17 00:00:00 2001
2 From: Martin Bark <martin@barkynet.com>
3 Date: Tue, 12 Jul 2016 19:03:28 +0100
4 Subject: [PATCH] inspector: don't build when ssl support is disabled
6 Signed-off-by: Martin Bark <martin@barkynet.com>
7 ---
8 node.gyp | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/node.gyp b/node.gyp
12 index 8a8bd00..fdccd60 100644
13 --- a/node.gyp
14 +++ b/node.gyp
15 @@ -302,7 +302,7 @@
16 'deps/v8/src/third_party/vtune/v8vtune.gyp:v8_vtune'
18 }],
19 - [ 'v8_inspector=="true"', {
20 + [ 'v8_inspector=="true" and node_use_openssl =="true"', {
21 'defines': [
22 'HAVE_INSPECTOR=1',
23 'V8_INSPECTOR_USE_STL=1',
24 @@ -828,7 +828,7 @@
27 'conditions': [
28 - ['v8_inspector=="true"', {
29 + ['v8_inspector=="true" and node_use_openssl =="true"', {
30 'sources': [
31 'src/inspector_socket.cc',
32 'test/cctest/test_inspector_socket.cc'
33 --
34 2.7.4