1
0
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:
Mehmet Ali Şipi 2023-04-18 09:20:17 +03:00 committed by GitHub
parent 8275dc5a73
commit 04dabb5485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
}