aboutsummaryrefslogtreecommitdiff
path: root/mesalib/scons
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/scons')
-rw-r--r--mesalib/scons/llvm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/scons/llvm.py b/mesalib/scons/llvm.py
index 8388d8e9f..6282cb538 100644
--- a/mesalib/scons/llvm.py
+++ b/mesalib/scons/llvm.py
@@ -202,6 +202,8 @@ def generate(env):
env.ParseConfig('llvm-config --libs ' + ' '.join(components))
env.ParseConfig('llvm-config --ldflags')
+ if llvm_version >= distutils.version.LooseVersion('3.5'):
+ env.ParseConfig('llvm-config --system-libs')
except OSError:
print 'scons: llvm-config version %s failed' % llvm_version
return