Explorar o código

cups: add optional image dependencies

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard %!s(int64=13) %!d(string=hai) anos
pai
achega
67e4edfb96
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      package/cups/cups.mk

+ 5 - 0
package/cups/cups.mk

@@ -15,6 +15,11 @@ CUPS_CONF_OPT = --without-perl \
 		--disable-gnutls \
 		--disable-gssapi
 
+CUPS_DEPENDENCIES = $(if $(BR2_PACKAGE_ZLIB),zlib) \
+		    $(if $(BR2_PACKAGE_LIBPNG),libpng) \
+		    $(if $(BR2_PACKAGE_JPEG),jpeg) \
+		    $(if $(BR2_PACKAGE_TIFF),tiff)
+
 ifeq ($(BR2_PACKAGE_DBUS),y)
 	CUPS_CONF_OPT += --enable-dbus
 	CUPS_DEPENDENCIES += dbus