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 :|