ui vh hack

pull/2607/head
Alexander Medvednikov 2019-11-01 00:47:11 +03:00
parent 91df08f56d
commit e07d3c7827
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ fn (v mut V) cc() {
a << '-c'
}
else if v.pref.is_cache {
builtin_o_path := '$v_modules_path${os.path_separator}cache${os.path_separator}vlib${os.path_separator}builtin.o'
builtin_o_path := os.join(v_modules_path, 'cache', 'vlib', 'builtin.o')
a << builtin_o_path.replace('builtin.o', 'strconv.o') // TODO hack no idea why this is needed
if os.file_exists(builtin_o_path) {
libs = builtin_o_path
} else {