build: fix node build failures in WSL Ubuntu · nodejs/node@3e4d977 · GitHub
Skip to content

Commit 3e4d977

Browse files
MrJithildanielleadams
authored andcommitted
build: fix node build failures in WSL Ubuntu
On WSL systems, `./configure` causes appending of carriage return (`\r\r`) as leftover and will be appended to the `gyp_args`. Therefore, it will lead to unhandled exceptions from the `./configure` execution. Excluded the empty or whitespace item from the `args` array to fix the issue. Fixes: #41459 PR-URL: #41476 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent a59ade6 commit 3e4d977

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure.py

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)