mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build, tools: look for local installation of NASM
Search the default installation path for NASM installed by a user without administrator privileges when not found on the Path or in the default system-wide installation path. PR-URL: https://github.com/nodejs/node/pull/36014 Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
parent
dd0f8f18c2
commit
322abb4e05
1 changed files with 5 additions and 0 deletions
|
@ -16,4 +16,9 @@ IF EXIST "%ProgramFiles(x86)%\NASM\nasm.exe" (
|
|||
EXIT /B 0
|
||||
)
|
||||
|
||||
if EXIST "%LOCALAPPDATA%\bin\NASM\nasm.exe" (
|
||||
SET "Path=%Path%;%LOCALAPPDATA%\bin\NASM"
|
||||
EXIT /B 0
|
||||
)
|
||||
|
||||
EXIT /B 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue