From b35b9eee0c55017b0b2c6e1926b40ee4b106f8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Tue, 16 Aug 2022 11:14:23 +0800 Subject: [PATCH] use system-installed node-gyp for building test modules Last-Update: 2015-09-09 Forwarded: not-needed Gbp-Pq: Name use_system_node_gyp.patch --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b8986e9a..394eb0a9 100644 --- a/Makefile +++ b/Makefile @@ -376,14 +376,14 @@ ADDONS_BINDING_SOURCES := \ $(filter-out test/addons/??_*/*.h, $(wildcard test/addons/*/*.h)) ADDONS_PREREQS := config.gypi \ - deps/npm/node_modules/node-gyp/package.json tools/build-addons.js \ + tools/build-addons.js \ deps/uv/include/*.h deps/v8/include/*.h \ src/node.h src/node_buffer.h src/node_object_wrap.h src/node_version.h define run_build_addons env npm_config_loglevel=$(LOGLEVEL) npm_config_nodedir="$$PWD" \ npm_config_python="$(PYTHON)" $(NODE) "$$PWD/tools/build-addons" \ - "$$PWD/deps/npm/node_modules/node-gyp/bin/node-gyp.js" \ + "/usr/bin/node-gyp" \ $1 touch $2 endef