]> granicus.if.org Git - llvm/commitdiff
gn build: make windows build less broken
authorNico Weber <nicolasweber@gmx.de>
Sun, 6 Oct 2019 18:11:53 +0000 (18:11 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 6 Oct 2019 18:11:53 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373858 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/build/toolchain/BUILD.gn

index 70e259e116f4b5657b1b1d58595a72846ffaa0d7..c36579f28e432517769984b7c54b7f5b64aaa03b 100644 (file)
@@ -265,6 +265,7 @@ toolchain("win") {
       dllfile,
       libfile,
     ]
+    lib_switch = ""
     default_output_extension = ".dll"
     restat = true
 
@@ -287,6 +288,7 @@ toolchain("win") {
     outputs = [
       dllfile,
     ]
+    lib_switch = ""
     runtime_outputs = outputs
     default_output_extension = ".dll"
 
@@ -302,6 +304,7 @@ toolchain("win") {
     outputs = [
       outfile,
     ]
+    lib_switch = ""
     default_output_extension = ".exe"
 
     # Setting this allows targets to override the default executable output by