autoconf/llvm: fix build for disassembler
authorDave Airlie <airlied@redhat.com>
Sun, 13 Mar 2011 23:36:47 +0000 (09:36 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 13 Mar 2011 23:37:08 +0000 (09:37 +1000)
tested by okias on irc

configure.ac

index 0de013f3241889aa48fc5ed43efd7fb15c18340e..70380ff9317d6b15ce6a3cc1f3b802a73b179d2b 100644 (file)
@@ -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"