1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: rename build to build_module

This commit is contained in:
Vitor Oliveira
2019-09-10 07:36:14 -07:00
committed by Alexander Medvednikov
parent cd47f09f86
commit edd8528049
4 changed files with 9 additions and 9 deletions

View File

@ -40,7 +40,7 @@ fn (v mut V) cc() {
a << '-shared -fPIC '// -Wl,-z,defs'
v.out_name = v.out_name + '.so'
}
if v.pref.build_mode == .build {
if v.pref.build_mode == .build_module {
v.out_name = ModPath + v.dir + '.o' //v.out_name
println('Building ${v.out_name}...')
}
@ -64,7 +64,7 @@ fn (v mut V) cc() {
}
mut libs := ''// builtin.o os.o http.o etc
if v.pref.build_mode == .build {
if v.pref.build_mode == .build_module {
a << '-c'
}
else if v.pref.build_mode == .embed_vlib {