infozip: add missing optional bzip2 dependencie
authorRomain Naour <romain.naour@openwide.fr>
Thu, 30 Jan 2014 22:15:44 +0000 (23:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Feb 2014 09:32:19 +0000 (10:32 +0100)
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/infozip/infozip.mk

index 8a356cf41ede7f9631ee2221b94fe1e9cfeb0044..8e5122405c311fb5254cc937afc8501af5c090a8 100644 (file)
@@ -10,6 +10,10 @@ INFOZIP_SITE = ftp://ftp.info-zip.org/pub/infozip/src
 INFOZIP_LICENSE = Info-ZIP
 INFOZIP_LICENSE_FILES = LICENSE
 
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+INFOZIP_DEPENDENCIES += bzip2
+endif
+
 define INFOZIP_BUILD_CMDS
        $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
                CFLAGS="$(TARGET_CFLAGS) -I. -DUNIX" \