aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ziak <[email protected]>2016-07-27 13:36:16 +0200
committerMichel Dänzer <[email protected]>2016-07-29 16:24:03 +0900
commitb107169eef92e740180df468d1eae4cc61a52757 (patch)
tree65d7800c0a1541c6cb90ce6579790b9066531a65
parenta235765d27d259edb7b028b8df55ef7240622242 (diff)
configure: add support for LLVM 4.0.0svn static libs
Signed-off-by: Jan Ziak (http://atom-symbol.net) <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f6b27ae086a..7d1a9bb8dd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2535,7 +2535,7 @@ if test "x$MESA_LLVM" != x0; then
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 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`"
fi
fi