1
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:
Frank Denis 2017-12-20 22:51:58 +01:00
parent 1f1b0afb5c
commit 65f71fe060

View File

@ -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