From 6a951751f754b362f4c35b346f4e67a5036493fb Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 14 Oct 2019 03:56:53 +0300 Subject: [PATCH] compiler: fix building_v --- vlib/compiler/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/main.v b/vlib/compiler/main.v index 5b730b047a..0a3125d4dd 100644 --- a/vlib/compiler/main.v +++ b/vlib/compiler/main.v @@ -885,7 +885,7 @@ pub fn new_v(args[]string) &V { build_mode: build_mode cflags: cflags ccompiler: find_c_compiler() - building_v: !is_repl && (rdir_name == 'compiler' || dir.contains('vlib')) + building_v: !is_repl && (rdir_name == 'compiler' || dir == 'v.v' || dir.contains('vlib')) } if pref.is_verbose || pref.is_debug { println('C compiler=$pref.ccompiler')