mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.builder: add support for cross-compilation from termux
to other platforms (#17984)
This commit is contained in:
parent
8275dc5a73
commit
04dabb5485
@ -854,7 +854,7 @@ fn (mut c Builder) cc_windows_cross() {
|
||||
obj_name = obj_name.replace('.o.o', '.o')
|
||||
include := '-I $winroot/include '
|
||||
*/
|
||||
if os.user_os() !in ['macos', 'linux'] {
|
||||
if os.user_os() !in ['macos', 'linux', 'termux'] {
|
||||
println(os.user_os())
|
||||
panic('your platform is not supported yet')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user