From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcJF-0003He-EK for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:25:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlcJB-0002a8-Kj for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:25:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcJB-0002a2-D3 for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:25:25 -0500 Date: Wed, 27 Nov 2013 10:25:19 +0000 From: "Daniel P. Berrange" Message-ID: <20131127102519.GA2543@redhat.com> References: <1602530144.326084.1385546959951.open-xchange@email.1und1.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1602530144.326084.1385546959951.open-xchange@email.1und1.de> Subject: Re: [Qemu-devel] [RFC] allow special paths for libusbx Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull Cc: Paolo Bonzini , "qemu-devel@nongnu.org" , Gerd Hoffmann On Wed, Nov 27, 2013 at 11:09:19AM +0100, Erik Rull wrote: > Hi all, > > I don't have libusbx installed on my system but the source package is available > and compiled for development. > This may also help other users to enable the libusbx support without having it > actually installed on the compile machine. > > It's a first attempt, feel free to optimize it. I would be happy if someone > could commit a patch like that for the next release - this would make it > possible to use the next qemu release instead of the git version with own > patches. > > The call parameters would be filled like: > > --enable-libusb-special-headers=-I/home/erik/libusbx/libusb > --enable-libusb-special-libs="-L/home/erik/libusbx/libusb/.libs -lusb-1.0" libusbx provides a pkg-config file so you should merely need todo export PKG_CONFIG_PATH=${path-to-libusbx-install-root-prefix}/lib/pkgconfig Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|