configure: add support for LLVM 4.0.0svn static libs

Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Jan Ziak 2016-07-27 13:36:16 +02:00 committed by Michel Dänzer
parent a235765d27
commit b107169eef
1 changed files with 1 additions and 1 deletions

View File

@ -2535,7 +2535,7 @@ if test "x$MESA_LLVM" != x0; then
AC_MSG_WARN([Building mesa with statically linked LLVM may cause compilation issues]) AC_MSG_WARN([Building mesa with statically linked LLVM may cause compilation issues])
dnl We need to link to llvm system libs when using static libs dnl We need to link to llvm system libs when using static libs
dnl However, only llvm 3.5+ provides --system-libs dnl However, only llvm 3.5+ provides --system-libs
if test $LLVM_VERSION_MAJOR -eq 3 -a $LLVM_VERSION_MINOR -ge 5; then if test $LLVM_VERSION_MAJOR -ge 4 -o $LLVM_VERSION_MAJOR -eq 3 -a $LLVM_VERSION_MINOR -ge 5; then
LLVM_LIBS="$LLVM_LIBS `$LLVM_CONFIG --system-libs`" LLVM_LIBS="$LLVM_LIBS `$LLVM_CONFIG --system-libs`"
fi fi
fi fi