Message ID | 3701617ecc82610119d45abfe5683bc3d157cbc8.1253272938.git.quintela@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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
Signed-off-by: Juan Quintela <quintela@redhat.com> --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)