use system-installed node-gyp for building test modules
authorJérémy Lal <kapouer@melix.org>
Mon, 10 Oct 2022 08:49:19 +0000 (09:49 +0100)
committerJérémy Lal <kapouer@melix.org>
Mon, 10 Oct 2022 08:49:19 +0000 (09:49 +0100)
Last-Update: 2015-09-09
Forwarded: not-needed

Gbp-Pq: Topic deps
Gbp-Pq: Name node_gyp.patch

Makefile

index b61313b98a1d16dc69a375ef9fc488afe8cde1f0..1b801c560932cf913707bc4f0ea78c1481629560 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -359,14 +359,13 @@ 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.mjs \
+       tools/build-addons.mjs \
        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.mjs" \
-       "$$PWD/deps/npm/node_modules/node-gyp/bin/node-gyp.js" \
        $1
 touch $2
 endef