From: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
diff --git a/Makefile.target b/Makefile.target
index 5fad812..b2a2e45 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 5ae8443..97b0012 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"
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html