nodejs20/0001-Disable-running-gyp-on-shared-deps.patch

56 lines
1.8 KiB
Diff
Raw Normal View History

From 5f4369b4448337c034067744711b02a496cb3d39 Mon Sep 17 00:00:00 2001
2017-03-22 18:19:11 +00:00
From: Zuzana Svetlikova <zsvetlik@redhat.com>
Date: Fri, 17 Apr 2020 12:59:44 +0200
Subject: [PATCH 1/2] Disable running gyp on shared deps
2017-03-22 18:19:11 +00:00
Signed-off-by: rpm-build <rpm-build>
2017-03-22 18:19:11 +00:00
---
Makefile | 2 +-
node.gyp | 17 -----------------
2 files changed, 1 insertion(+), 18 deletions(-)
2017-03-22 18:19:11 +00:00
diff --git a/Makefile b/Makefile
index 9f7ab7129d06471760c707a4bf7764cb2bdff862..78f91cf7f57b0de32961b1d491edf28a4ad375d2 100644
2017-03-22 18:19:11 +00:00
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,7 @@ with-code-cache test-code-cache:
$(warning '$@' target is a noop)
2017-03-22 18:19:11 +00:00
out/Makefile: config.gypi common.gypi node.gyp \
- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
+ deps/llhttp/llhttp.gyp \
tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
2017-03-22 18:19:11 +00:00
$(PYTHON) tools/gyp_node.py -f make
diff --git a/node.gyp b/node.gyp
index 340ffc27ade9f73c1a5b4121bd9184a1fc3976a9..dfed3734eb52936c6e56ae6df533ca94150c7f69 100644
--- a/node.gyp
+++ b/node.gyp
@@ -423,23 +423,6 @@
],
},
],
- }, {
- 'variables': {
- 'opensslconfig_internal': '<(obj_dir)/deps/openssl/openssl.cnf',
- 'opensslconfig': './deps/openssl/nodejs-openssl.cnf',
- },
- 'actions': [
- {
- 'action_name': 'reset_openssl_cnf',
- 'inputs': [ '<(opensslconfig)', ],
- 'outputs': [ '<(opensslconfig_internal)', ],
- 'action': [
- 'python', 'tools/copyfile.py',
- '<(opensslconfig)',
- '<(opensslconfig_internal)',
- ],
- },
- ],
}],
],
}, # node_core_target_name
2017-03-22 18:19:11 +00:00
--
2.36.1