mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Prefer the system version of nodejs to the emscripten one
This commit is contained in:
parent
1f1b0afb5c
commit
65f71fe060
@ -113,7 +113,7 @@ EOM
|
||||
fi
|
||||
|
||||
if test "x$NODE" = x; then
|
||||
for candidate in node nodejs; do
|
||||
for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node nodejs; do
|
||||
case $($candidate --version 2>&1) in #(
|
||||
v*)
|
||||
NODE=$candidate
|
||||
|
Loading…
Reference in New Issue
Block a user