From e07d3c78276a0f668acdb5695b6ab84c1b8d1e79 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 1 Nov 2019 00:47:11 +0300 Subject: [PATCH] ui vh hack --- vlib/compiler/cc.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/compiler/cc.v b/vlib/compiler/cc.v index d489e16393..3d8d4648ef 100644 --- a/vlib/compiler/cc.v +++ b/vlib/compiler/cc.v @@ -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 {