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)
llvm-svn: 373858

llvm/utils/gn/build/toolchain/BUILD.gn

index 70e259e..c36579f 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