configure.ac: Link mcdisassembler component.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 29 May 2015 11:13:36 +0000 (12:13 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Fri, 29 May 2015 11:17:16 +0000 (12:17 +0100)
gallivm now depends on it. And depending on particular LLVM version /
configure options, the build can fail without this change due to
undefined reference to `LLVM*Disasm*' symbols.

Trivial.

configure.ac

index e49473b0f7e90bfcd4b70a469dcf96f25b7dba89..d32aa2492cc69b9ab738cb3ca94582949f7bcfeb 100644 (file)
@@ -1921,7 +1921,7 @@ if test "x$enable_gallium_llvm" = xyes; then
             AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required])
         fi
 
-        LLVM_COMPONENTS="engine bitwriter mcjit"
+        LLVM_COMPONENTS="engine bitwriter mcjit mcdisassembler"
 
         if test "x$enable_opencl" = xyes; then
             llvm_check_version_for "3" "5" "0" "opencl"