1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builder: fix thirdparty object files compilation with tcc (no -lxyz with -c)

This commit is contained in:
Delyan Angelov 2021-02-22 08:18:24 +02:00
parent f18adf7759
commit 9ab291319c
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -975,7 +975,6 @@ fn (mut v Builder) build_thirdparty_obj_file(path string, moduleflags []cflag.CF
all_options << moduleflags.c_options_before_target()
all_options << '-o "$opath"'
all_options << '-c "$cfile"'
all_options << moduleflags.c_options_after_target()
cc_options := v.ccoptions.thirdparty_object_args(all_options).join(' ')
cmd := '$v.pref.ccompiler $cc_options'
$if trace_thirdparty_obj_files ? {