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:
parent
7d6f97259f
commit
a46eda7c44
@ -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'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user