then how about this: test $(uname) = Linux && test $(uname -o) = Android &&
targetos=Android
On Fri, 12 Aug 2022, grischka wrote:
On 11.08.2022 11:02, Christian JULLIEN wrote:
Here:
test "$(uname -o)" = "Android" && targetos=Android
Why not just "$(uname)" ?
Well, because on Android just uname gives "Linux".
It shows an error but script continues
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel