mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01: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
|
|
@ -16,4 +16,9 @@ IF EXIST "%ProgramFiles(x86)%\NASM\nasm.exe" (
|
||||||
EXIT /B 0
|
EXIT /B 0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if EXIST "%LOCALAPPDATA%\bin\NASM\nasm.exe" (
|
||||||
|
SET "Path=%Path%;%LOCALAPPDATA%\bin\NASM"
|
||||||
|
EXIT /B 0
|
||||||
|
)
|
||||||
|
|
||||||
EXIT /B 1
|
EXIT /B 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user