Use uname -s since uname -o is not compatible with macOS/Darwin
This commit is contained in:
parent
c51236eee7
commit
4410dbdd7f
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue