浏览代码

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 年之前
父节点
当前提交
a99de14d1f
共有 1 个文件被更改,包括 2 次插入1 次删除
  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