mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.builder: fix ./v examples/v_script.vsh
on windows (this quickfix is thanks to yuyi98)
This commit is contained in:
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
Block a user