1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builder: fix dll generation on Windows (#6939)

This commit is contained in:
Ekopalypse
2020-11-25 12:18:58 +01:00
committed by GitHub
parent 7d6f97259f
commit a46eda7c44

View File

@@ -288,6 +288,8 @@ fn (mut v Builder) cc() {
args << '-fPIC' // -Wl,-z,defs'
$if macos {
v.pref.out_name += '.dylib'
} $else $if windows {
v.pref.out_name += '.dll'
} $else {
v.pref.out_name += '.so'
}