diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py index 037b9ed2d1676..090a7c21fa782 100644 --- a/lld/test/lit.cfg.py +++ b/lld/test/lit.cfg.py @@ -88,7 +88,7 @@ # cvtres, which always accompanies it. Alternatively, check if we can use # libxml2 to merge manifests. if (lit.util.which('cvtres', config.environment['PATH']) or - config.llvm_libxml2_enabled): + config.have_libxml2): config.available_features.add('manifest_tool') if config.have_libxml2: