diff --git a/vlib/compiler/main.v b/vlib/compiler/main.v index d8d5327a0b..6d5ed51616 100644 --- a/vlib/compiler/main.v +++ b/vlib/compiler/main.v @@ -893,7 +893,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 == 'v.v' || dir.contains('vlib')) + building_v: !is_repl && (rdir_name == 'compiler' || rdir_name == 'v.v' || dir.contains('vlib')) } if pref.is_verbose || pref.is_debug { println('C compiler=$pref.ccompiler')