diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn index 45bcf5e50927..b17fe80ae6a2 100644 --- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn @@ -94,6 +94,12 @@ write_lit_config("lit_site_cfg") { extra_values += [ "EXEEXT=" ] } + if (host_os == "win") { + extra_values += [ "LLVM_ENABLE_PLUGINS=0" ] + } else { + extra_values += [ "LLVM_ENABLE_PLUGINS=1" ] + } + if (host_os == "mac") { extra_values += [ "SHLIBEXT=.dylib" ] } else if (host_os == "win") {