mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ui vh hack
This commit is contained in:
parent
91df08f56d
commit
e07d3c7827
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user