mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: handle linker errors when building .o files
This commit is contained in:
parent
26714fadc5
commit
fb5a40d1c8
@ -93,7 +93,8 @@ fn (mut v Builder) post_process_c_compiler_output(res os.Result) {
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if res.exit_code != 0 && v.pref.gc_mode != .no_gc && res.output.contains('libgc.a') {
|
if res.exit_code != 0 && v.pref.gc_mode != .no_gc && res.output.contains('libgc.a')
|
||||||
|
&& !v.pref.is_o {
|
||||||
$if windows {
|
$if windows {
|
||||||
verror(r'Your V installation may be out-of-date. Try removing `thirdparty\tcc\` and running `.\make.bat`')
|
verror(r'Your V installation may be out-of-date. Try removing `thirdparty\tcc\` and running `.\make.bat`')
|
||||||
} $else {
|
} $else {
|
||||||
|
Loading…
Reference in New Issue
Block a user