Il 26/11/2013 18:29, Erik Rull ha scritto:
> 
> Just a thought:
> Snippet from configure:
> 
>         libusb_cflags=$($pkg_config --cflags libusb-1.0)
>         libusb_libs=$($pkg_config --libs libusb-1.0)
>         QEMU_CFLAGS="$QEMU_CFLAGS $libusb_cflags"
>         libs_softmmu="$libs_softmmu $libusb_libs"
> 
> Is it possible to expose the two libusb_ variables to a
> configure-parameter? This would be sufficient for me to compile qemu
> with the parameters I need. I don't have the package installed but the
> includes and libs are present on the build machine and the lib is
> available on the target machine.

Note that configure does have this:

echo "libusb            $libusb"

It seems strange to me that you have includes and libs but no .pc file.
 Perhaps the pkg-config path (PKG_CONFIG_PATH) is not set correctly?

Note that in the meanwhile you can use "-device usb-host-linux", I think.

Paolo

Reply via email to