Skip to content

Commit a46eda7

Browse files
authored
builder: fix dll generation on Windows (#6939)
1 parent 7d6f972 commit a46eda7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vlib/v/builder/cc.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ fn (mut v Builder) cc() {
288288
args << '-fPIC' // -Wl,-z,defs'
289289
$if macos {
290290
v.pref.out_name += '.dylib'
291+
} $else $if windows {
292+
v.pref.out_name += '.dll'
291293
} $else {
292294
v.pref.out_name += '.so'
293295
}

0 commit comments

Comments
 (0)