summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2016-11-22 17:01:35 -0800
committerVinson Lee <vlee@freedesktop.org>2016-11-24 13:37:33 -0800
commitf07da5aa5e2e6021f02104235429b670f6b468ec (patch)
treecb507050618b004789cc72595fa58ae3ee6d4851 /common.py
parenta794f0901719eb2689cbbabd5724fa89a2cfecd2 (diff)
scons: Recognize LLVM_CONFIG environment variable.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'common.py')
-rw-r--r--common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.py b/common.py
index 704ad2e4d5..24a7e8a611 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'