Module: Mesa Branch: master Commit: 35a34143026785e015adb906756651807de89bde URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35a34143026785e015adb906756651807de89bde
Author: Vinson Lee <[email protected]> Date: Thu Dec 19 15:55:28 2013 -0800 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]> --- scons/llvm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scons/llvm.py b/scons/llvm.py index 8388d8e..6282cb5 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
