summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/llvm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/llvm.py b/scons/llvm.py
index 8388d8e9fc2..6282cb5382f 100644
--- a/scons/llvm.py
+++ b/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