diff mbox

[12/24] Introduce libs_softmmu to device assignment code

Message ID 1fbe5d03718f67c6a14b146e03eea60f8439ffd4.1253272938.git.quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Sept. 18, 2009, 11:41 a.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    2 --
 configure       |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/Makefile.target b/Makefile.target
index 58f8b9e..525a8c2 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -217,7 +217,6 @@  obj-i386-y += i8254-kvm.o
 endif
 ifeq ($(USE_KVM_DEVICE_ASSIGNMENT), 1)
 obj-i386-y += device-assignment.o
-LIBS+=-lpci
 endif

 # Hardware support
@@ -228,7 +227,6 @@  obj-ia64-y += usb-uhci.o

 ifeq ($(USE_KVM_DEVICE_ASSIGNMENT), 1)
 obj-ia64-y += device-assignment.o
-LIBS+=-lpci
 endif

 # shared objects
diff --git a/configure b/configure
index c4ee415..930e450 100755
--- a/configure
+++ b/configure
@@ -964,7 +964,7 @@  cat > $TMPC << EOF
 int main(void) { return 0; }
 EOF
     if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC 2>/dev/null ; then
-        :
+        libs_softmmu="-lpci $libs_softmmu"
     else
         echo
         echo "Error: libpci check failed"