mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: fix building sqlite3 on windows
This commit is contained in:
parent
eacd6b5d54
commit
8cb1714255
@ -814,7 +814,7 @@ fn (mut v Builder) build_thirdparty_obj_file(path string, moduleflags []cflag.CF
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
println('$obj_path not found, building it in $opath ...')
|
println('$obj_path not found, building it in $opath ...')
|
||||||
cfile := '${path[..path.len - 2]}.c'
|
cfile := '${obj_path[..obj_path.len - 2]}.c'
|
||||||
btarget := moduleflags.c_options_before_target()
|
btarget := moduleflags.c_options_before_target()
|
||||||
atarget := moduleflags.c_options_after_target()
|
atarget := moduleflags.c_options_after_target()
|
||||||
cppoptions := if v.pref.ccompiler.contains('++') { ' -fpermissive -w ' } else { '' }
|
cppoptions := if v.pref.ccompiler.contains('++') { ' -fpermissive -w ' } else { '' }
|
||||||
|
Loading…
Reference in New Issue
Block a user