package/libzip: use ENABLE_BZIP2

Use ENABLE_BZIP2 option which is available since version 1.5.2 and
028c492c9d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-07-20 22:42:06 +02:00 committed by Thomas Petazzoni
parent 3c81f492aa
commit 016916e6e2

View File

@ -15,8 +15,9 @@ HOST_LIBZIP_DEPENDENCIES = host-zlib
ifeq ($(BR2_PACKAGE_BZIP2),y)
LIBZIP_DEPENDENCIES += bzip2
LIBZIP_CONF_OPTS += -DENABLE_BZIP2=ON
else
LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
LIBZIP_CONF_OPTS += -DENABLE_BZIP2=OFF
endif
ifeq ($(BR2_PACKAGE_GNUTLS),y)