We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 921e001 commit 0613263Copy full SHA for 0613263
1 file changed
vlib/v/gen/native/pe.v
@@ -622,6 +622,13 @@ fn (mut g Gen) gen_pe_idata() {
622
623
g.linker_include_paths << '.'
624
625
+ // keep only the unique paths:
626
+ mut upaths := map[string]bool{}
627
+ for path in g.linker_include_paths {
628
+ upaths[path] = true
629
+ }
630
+ g.linker_include_paths = upaths.keys()
631
+
632
mut dll_files := ['kernel32.dll', 'user32.dll', 'msvcrt.dll']
633
dll_files << g.linker_libs.map(it + '.dll')
634
mut dlls := dll_files
0 commit comments