gutenprint: add optional libusb support

As the recent build issues have shown, gutenprint has optional libusb
support so ensure it is built after libusb if enabled for consistent
builds.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2016-04-17 21:35:38 +02:00
parent 4472bacef2
commit a99de14d1f

View File

@ -16,7 +16,8 @@ GUTENPRINT_AUTORECONF = YES
GUTENPRINT_DEPENDENCIES = \
cups host-pkgconf \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
$(if $(BR2_PACKAGE_LIBUSB),libusb)
# host-gutenprint is needed to generate XML as part of compilation
# the program that generates the xml also links against libgutenprint