X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=common.py;h=24a7e8a611df56620955ca84d468e26cddc510b0;hb=21efe2528cd88cb09ba9f69222f69a8ee47611c9;hp=704ad2e4d58db6b0fb891e23699ca9a6de9c462f;hpb=9085f1a9ccdfdfbdd470c871335edf360cf56c58;p=mesa.git diff --git a/common.py b/common.py index 704ad2e4d58..24a7e8a611d 100644 --- a/common.py +++ b/common.py @@ -59,7 +59,7 @@ if target_platform == 'windows' and host_platform != 'windows': # find default_llvm value -if 'LLVM' in os.environ: +if 'LLVM' in os.environ or 'LLVM_CONFIG' in os.environ: default_llvm = 'yes' else: default_llvm = 'no'