Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhimself65 <himself65@mask.io>2021-07-07 19:19:00 +0300
committerhimself65 <himself65@mask.io>2021-07-14 05:44:56 +0300
commitcfb7c4f658005cd4f16737e5bc9e8e9cd403d40e (patch)
treee1180a107ceae324c4c9eb34e1601beeaa859876 /node.gyp
parentc506660f326750a9cbde6a715b357d42d2c46a0a (diff)
build: add `library_files` to gyp variables
GYP uses the system path when parsing node.gyp; However, if system python is different from our gyp runtime python, like '2.7', gyp would crash. Co-authored-by: Michaël Zasso <targos@protonmail.com> PR-URL: https://github.com/nodejs/node/pull/39293 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 691ce22ff3d..be50b280fc5 100644
--- a/node.gyp
+++ b/node.gyp
@@ -33,7 +33,7 @@
# Windows command length limit or there would be an error.
# See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
'library_files': [
- '<!@(python tools/search_files.py --ext js lib)',
+ '<@(node_library_files)',
],
'deps_files': [
'deps/v8/tools/splaytree.mjs',