From patchwork Fri Sep 18 11:41:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 48519 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8IBgYSw014088 for ; Fri, 18 Sep 2009 11:42:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756806AbZIRLm0 (ORCPT ); Fri, 18 Sep 2009 07:42:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756757AbZIRLmZ (ORCPT ); Fri, 18 Sep 2009 07:42:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33998 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756647AbZIRLl4 (ORCPT ); Fri, 18 Sep 2009 07:41:56 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBg0be002361 for ; Fri, 18 Sep 2009 07:42:00 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8IBfa8v017440; Fri, 18 Sep 2009 07:41:55 -0400 From: Juan Quintela To: kvm@vger.kernel.org Subject: [PATCH 12/24] Introduce libs_softmmu to device assignment code Date: Fri, 18 Sep 2009 13:41:23 +0200 Message-Id: <1fbe5d03718f67c6a14b146e03eea60f8439ffd4.1253272938.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Juan Quintela --- Makefile.target | 2 -- configure | 2 +- 2 files changed, 1 insertions(+), 3 deletions(-) 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"