diff options
author | himself65 <himself65@mask.io> | 2021-07-07 19:19:00 +0300 |
---|---|---|
committer | himself65 <himself65@mask.io> | 2021-07-14 05:44:56 +0300 |
commit | cfb7c4f658005cd4f16737e5bc9e8e9cd403d40e (patch) | |
tree | e1180a107ceae324c4c9eb34e1601beeaa859876 /node.gyp | |
parent | c506660f326750a9cbde6a715b357d42d2c46a0a (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.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', |