0002-inspector-don-t-build-when-ssl-support-is-disabled.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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
  5. Signed-off-by: Martin Bark <martin@barkynet.com>
  6. ---
  7. node.gyp | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/node.gyp b/node.gyp
  10. index 8a8bd00..fdccd60 100644
  11. --- a/node.gyp
  12. +++ b/node.gyp
  13. @@ -302,7 +302,7 @@
  14. 'deps/v8/src/third_party/vtune/v8vtune.gyp:v8_vtune'
  15. ],
  16. }],
  17. - [ 'v8_inspector=="true"', {
  18. + [ 'v8_inspector=="true" and node_use_openssl =="true"', {
  19. 'defines': [
  20. 'HAVE_INSPECTOR=1',
  21. 'V8_INSPECTOR_USE_STL=1',
  22. @@ -828,7 +828,7 @@
  23. ],
  24. 'conditions': [
  25. - ['v8_inspector=="true"', {
  26. + ['v8_inspector=="true" and node_use_openssl =="true"', {
  27. 'sources': [
  28. 'src/inspector_socket.cc',
  29. 'test/cctest/test_inspector_socket.cc'
  30. --
  31. 2.7.4