Mesa (master): autoconf/llvm: fix build for disassembler

Dave Airlie airlied at kemper.freedesktop.org
Sun Mar 13 23:37:27 UTC 2011


Module: Mesa
Branch: master
Commit: 110f5e2056f80d0b87f2a4388bc35727070ba6d5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=110f5e2056f80d0b87f2a4388bc35727070ba6d5

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 14 09:36:47 2011 +1000

autoconf/llvm: fix build for disassembler

tested by okias on irc

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0de013f..70380ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1649,7 +1649,7 @@ if test "x$enable_gallium_llvm" = xyes; then
     if test "x$LLVM_CONFIG" != xno; then
 	LLVM_VERSION=`$LLVM_CONFIG --version`
 	LLVM_CFLAGS=`$LLVM_CONFIG --cppflags`
-	LLVM_LIBS="`$LLVM_CONFIG --libs jit interpreter nativecodegen bitwriter` -lstdc++"
+	LLVM_LIBS="`$LLVM_CONFIG --libs jit interpreter nativecodegen bitwriter x86disassembler` -lstdc++"
 
 	LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
 	GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS llvmpipe"




More information about the mesa-commit mailing list