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

ci: fix failed windows-msvc task (sokol examples)

This commit is contained in:
Delyan Angelov 2021-12-15 20:16:55 +02:00
parent d90ef1f29f
commit 1261468d8e
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -481,6 +481,8 @@ pub fn msvc_string_flags(cflags []cflag.CFlag) MsvcStringFlags {
real_libs << lib_lib
} else if flag.name == '-I' {
inc_paths << flag.format()
} else if flag.name == '-D' {
defines << '/D$flag.value'
} else if flag.name == '-L' {
lib_paths << flag.value
lib_paths << flag.value + os.path_separator + 'msvc'