From f07da5aa5e2e6021f02104235429b670f6b468ec Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 22 Nov 2016 17:01:35 -0800 Subject: scons: Recognize LLVM_CONFIG environment variable. Signed-off-by: Vinson Lee Reviewed-by: Emil Velikov Reviewed-by: Jose Fonseca --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.py') 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' -- cgit v1.2.1