diff --git a/general/genlib/nodejs.xml b/general/genlib/nodejs.xml index a8b17d8891..22d780b5d0 100644 --- a/general/genlib/nodejs.xml +++ b/general/genlib/nodejs.xml @@ -123,10 +123,12 @@ The configure script for this version of Node.js is not aware of Python-3.11. If you have installed , - apply the following change (do not apply if you still have Python-3.10): + apply the following change): -sed -i s/10/11/g configure +sed -e '/=.*exec/a command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"' \ + -e s'/((/((3, 11), (/' \ + -i configure Build Node.js by running the following