From bdd053fcf1de866d418b927a2cd85e66e61b29ef Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 10 Sep 2021 12:29:43 +0300 Subject: [PATCH] v.builder: fix `./v examples/v_script.vsh` on windows (this quickfix is thanks to yuyi98) --- vlib/v/builder/builder.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/builder/builder.v b/vlib/v/builder/builder.v index fbc2fdc296..a736e23964 100644 --- a/vlib/v/builder/builder.v +++ b/vlib/v/builder/builder.v @@ -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' } }