diff --git a/utils/gn/secondary/clang/test/BUILD.gn b/utils/gn/secondary/clang/test/BUILD.gn index 8af8f42030b..4503eed5f99 100644 --- a/utils/gn/secondary/clang/test/BUILD.gn +++ b/utils/gn/secondary/clang/test/BUILD.gn @@ -92,6 +92,12 @@ write_lit_config("lit_site_cfg") { } else { extra_values += [ "LLVM_PLUGIN_EXT=.so" ] } + + if (host_os == "win") { + extra_values += [ "LLVM_ENABLE_PLUGINS=0" ] + } else { + extra_values += [ "LLVM_ENABLE_PLUGINS=1" ] + } } write_lit_config("lit_unit_site_cfg") {