02f876
From 2abb9e98751595936ac1c867b3f08695f5bcf22c Mon Sep 17 00:00:00 2001
e31e8f
From: Zuzana Svetlikova <zsvetlik@redhat.com>
e31e8f
Date: Fri, 17 Apr 2020 12:59:44 +0200
e31e8f
Subject: [PATCH] Disable running gyp on shared deps
e31e8f
e31e8f
Signed-off-by: rpm-build <rpm-build>
e31e8f
---
e31e8f
 Makefile |  2 +-
e31e8f
 node.gyp | 17 -----------------
e31e8f
 2 files changed, 1 insertion(+), 18 deletions(-)
e31e8f
e31e8f
diff --git a/Makefile b/Makefile
02f876
index 9c01f8f..133a3d0 100644
e31e8f
--- a/Makefile
e31e8f
+++ b/Makefile
02f876
@@ -148,7 +148,7 @@ with-code-cache test-code-cache:
e31e8f
 	$(warning '$@' target is a noop)
e31e8f
 
e31e8f
 out/Makefile: config.gypi common.gypi node.gyp \
e31e8f
-	deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
e31e8f
+	deps/llhttp/llhttp.gyp \
e31e8f
 	tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \
e31e8f
 	tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
e31e8f
 	$(PYTHON) tools/gyp_node.py -f make
e31e8f
diff --git a/node.gyp b/node.gyp
02f876
index 8f131ac..dce5fdc 100644
e31e8f
--- a/node.gyp
e31e8f
+++ b/node.gyp
e31e8f
@@ -429,23 +429,6 @@
e31e8f
               ],
e31e8f
             },
e31e8f
           ],
e31e8f
-         }, {
e31e8f
-           'variables': {
e31e8f
-              'opensslconfig_internal': '<(obj_dir)/deps/openssl/openssl.cnf',
e31e8f
-              'opensslconfig': './deps/openssl/nodejs-openssl.cnf',
e31e8f
-           },
e31e8f
-           'actions': [
e31e8f
-             {
e31e8f
-               'action_name': 'reset_openssl_cnf',
e31e8f
-               'inputs': [ '<(opensslconfig)', ],
e31e8f
-               'outputs': [ '<(opensslconfig_internal)', ],
e31e8f
-               'action': [
e31e8f
-                 'python', 'tools/copyfile.py',
e31e8f
-                 '<(opensslconfig)',
e31e8f
-                 '<(opensslconfig_internal)',
e31e8f
-               ],
e31e8f
-             },
e31e8f
-           ],
e31e8f
          }],
e31e8f
       ],
e31e8f
     }, # node_core_target_name
e31e8f
-- 
02f876
2.37.3
e31e8f