8226521: Detect WSL2 as WSL in configure
Reviewed-by: erikj
This commit is contained in:
parent
cd130d9b39
commit
4c4bd162c5
2
make/autoconf/build-aux/config.guess
vendored
2
make/autoconf/build-aux/config.guess
vendored
@ -63,7 +63,7 @@ fi
|
||||
# Test and fix wsl
|
||||
echo $OUT | grep x86_64-unknown-linux-gnu > /dev/null 2> /dev/null
|
||||
if test $? = 0; then
|
||||
uname -r | grep Microsoft > /dev/null 2> /dev/null
|
||||
uname -r | grep -i microsoft > /dev/null 2> /dev/null
|
||||
if test $? = 0; then
|
||||
OUT="x86_64-pc-wsl"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user