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

fix msvc build

This commit is contained in:
Alexander Medvednikov 2019-10-09 07:10:33 +03:00
parent 29f578d172
commit d8622dd3e5

View File

@ -254,6 +254,7 @@ pub fn (v mut V) cc_msvc() {
if v.pref.build_mode == .build_module { if v.pref.build_mode == .build_module {
} }
else if v.pref.build_mode == .default_mode { else if v.pref.build_mode == .default_mode {
/*
b := os.realpath( '$v_modules_path/vlib/builtin.obj' ) b := os.realpath( '$v_modules_path/vlib/builtin.obj' )
alibs << '"$b"' alibs << '"$b"'
if !os.file_exists(b) { if !os.file_exists(b) {
@ -266,6 +267,7 @@ pub fn (v mut V) cc_msvc() {
} }
alibs << '"' + os.realpath( '$v_modules_path/vlib/${imp}.obj' ) + '"' alibs << '"' + os.realpath( '$v_modules_path/vlib/${imp}.obj' ) + '"'
} }
*/
} }
if v.pref.sanitize { if v.pref.sanitize {