Signed-off-by: Juan Quintela <[email protected]>
---
configure | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 8c69894..fc067a4 100755
--- a/configure
+++ b/configure
@@ -961,9 +961,9 @@ cat > $TMPC << EOF
#ifndef PCI_VENDOR_ID
#error NO LIBPCI
#endif
-int main(void) { return 0; }
+int main(void) { struct pci_access a; pci_init(&a); return 0; }
EOF
- if compile_prog "" "" ; then
+ if compile_prog "" "-lpci" ; then
libs_softmmu="-lpci $libs_softmmu"
else
echo
--
1.6.2.5
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html