Use uname -s since uname -o is not compatible with macOS/Darwin

This commit is contained in:
Niklas Rosencrantz 2022-09-02 05:12:44 +02:00
parent c51236eee7
commit 4410dbdd7f

2
configure vendored
View File

@ -58,7 +58,7 @@ test -n "$CC" && cc="$CC"
cpu=`uname -m`
cpu_sys="$cpu"
targetos=`uname`
test "$(uname -o)" = "Android" && targetos=Android
test "$(uname -s)" = "Android" && targetos=Android
case $targetos in
Darwin)