From: Gerd Hoffmann Date: Wed, 4 Oct 2017 12:52:10 +0000 (+0200) Subject: usb: fix host-stub.c build race X-Git-Tag: qemu-xen-4.11.0-rc1~134^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=eea6ae20379dca837631d603c3bed03e5128189f;p=qemu-xen.git usb: fix host-stub.c build race Suggested-by: Thomas Huth Signed-off-by: Gerd Hoffmann Reviewed-by: Thomas Huth Message-id: 20171004125210.7817-1-kraxel@redhat.com --- diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs index 0e6d54b21f..bdfead6701 100644 --- a/hw/usb/Makefile.objs +++ b/hw/usb/Makefile.objs @@ -47,6 +47,7 @@ common-obj-y += host-libusb.o host-legacy.o else common-obj-y += host-stub.o endif +common-obj-$(CONFIG_ALL) += host-stub.o host-libusb.o-cflags := $(LIBUSB_CFLAGS) host-libusb.o-libs := $(LIBUSB_LIBS)