v.builder: fix `./v examples/v_script.vsh` on windows (this quickfix is thanks to yuyi98)
parent
48f0ef0a33
commit
bdd053fcf1
|
@ -236,7 +236,7 @@ pub fn (b &Builder) import_graph() &depgraph.DepGraph {
|
||||||
deps << 'builtin'
|
deps << 'builtin'
|
||||||
if b.pref.backend == .c {
|
if b.pref.backend == .c {
|
||||||
// TODO JavaScript backend doesn't handle os for now
|
// TODO JavaScript backend doesn't handle os for now
|
||||||
if b.pref.is_vsh && p.mod.name != 'os' {
|
if b.pref.is_vsh && p.mod.name !in ['os', 'dl'] {
|
||||||
deps << 'os'
|
deps << 'os'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue