mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: fix cross compilation of examples from linux->windows
This commit is contained in:
parent
a100b05647
commit
4b4733d6b4
@ -723,6 +723,7 @@ fn (mut c Builder) cc_windows_cross() {
|
||||
libs += ' "$pref.default_module_path/vlib/${imp}.o"'
|
||||
}
|
||||
}
|
||||
args += ' ' + cflags.c_options_only_object_files() + ' '
|
||||
args += ' $c.out_name_c '
|
||||
args += if c.pref.ccompiler == 'msvc' { cflags.c_options_after_target_msvc() } else { cflags.c_options_after_target() }
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user