Browse Source

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>
Peter Korsgaard 9 years ago
parent
commit
a99de14d1f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package/gutenprint/gutenprint.mk

+ 2 - 1
package/gutenprint/gutenprint.mk

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