mesa/0001-llvm-SONAME-without-version.patch
2017-11-06 13:49:21 -05:00

13 lines
523 B
Diff

diff --git a/configure.ac b/configure.ac
index 0116b90743..4f5c8e31da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2646,7 +2646,7 @@ detect_old_buggy_llvm() {
dnl ourselves.
dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
- LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version`
+ LLVM_SO_NAME=LLVM
AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes])
if test "x$llvm_have_one_so" = xyes; then