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

fix broken doc on windows

* replace hardcoded slash with os.path_separator

* compile only, no link, if building a module
This commit is contained in:
kdmult
2019-11-09 23:49:15 +03:00
committed by Alexander Medvednikov
parent e6c9c7d571
commit 30481a36dc
3 changed files with 14 additions and 14 deletions

View File

@ -267,6 +267,8 @@ pub fn (v mut V) cc_msvc() {
//alibs := []string // builtin.o os.o http.o etc
if v.pref.build_mode == .build_module {
// Compile only
a << '/c'
}
else if v.pref.build_mode == .default_mode {
/*