From 0f499a065ff23318f0c9f74d308974a4ca1aa9e3 Mon Sep 17 00:00:00 2001 From: ojab Date: Mon, 30 Jan 2012 12:34:46 +0400 Subject: [PATCH] Use only native engine & bitwriter LLVM libraries for linking. --- configure.ac | 2 +- scons/llvm.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 06d400f..df9f880 100644 --- a/configure.ac +++ b/configure.ac @@ -1747,7 +1747,7 @@ if test "x$enable_gallium_llvm" = xyes; then if test "x$LLVM_CONFIG" != xno; then LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'` LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'` - LLVM_LIBS="`$LLVM_CONFIG --libs`" + LLVM_LIBS="`$LLVM_CONFIG --libs engine bitwriter`" LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags` DEFINES="$DEFINES -D__STDC_CONSTANT_MACROS" diff --git a/scons/llvm.py b/scons/llvm.py index 57fe922..916b040 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -166,7 +166,7 @@ def generate(env): pass env.MergeFlags(cppflags) - env.ParseConfig('llvm-config --libs') + env.ParseConfig('llvm-config --libs engine bitwriter') env.ParseConfig('llvm-config --ldflags') except OSError: print 'scons: llvm-config version %s failed' % llvm_version -- 1.7.8