diff options
author | Vinson Lee <[email protected]> | 2013-12-19 15:55:28 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2013-12-23 11:33:29 -0800 |
commit | 35a34143026785e015adb906756651807de89bde (patch) | |
tree | b6e40ebeb614be5e81c8fe8195ae3afa5542b155 /scons | |
parent | 3ddabe0d523416693f28e293d8d3d918bdb612ca (diff) |
scons: Add system library linker flags on LLVM 3.5.
llvn-3.5svn r197664 split out the linker flags from ldflags to
system-libs.
Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'scons')
-rw-r--r-- | scons/llvm.py | 2 |
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 |