1
0
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:
Delyan Angelov 2021-09-10 12:29:43 +03:00
parent 48f0ef0a33
commit bdd053fcf1
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -236,7 +236,7 @@ pub fn (b &Builder) import_graph() &depgraph.DepGraph {
deps << 'builtin'
if b.pref.backend == .c {
// 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'
}
}