package/minizip: fix build without openssl

Disable PKWARE traditional and WinZIP AES encryption without openssl to
avoid the following build failure due to MZ_FETCH_LIBS being set to OFF
since commit f9d31de3b7

Fixes:
 - http://autobuild.buildroot.org/results/ae16497bf56df9ce4be97651b5ce65f75bdf909f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2020-12-25 23:13:43 +01:00 committed by Yann E. MORIN
parent 550302c0b9
commit 5a71be469a

View File

@ -38,9 +38,15 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MINIZIP_DEPENDENCIES += openssl
MINIZIP_CONF_OPTS += -DMZ_OPENSSL=ON
MINIZIP_CONF_OPTS += \
-DMZ_OPENSSL=ON \
-DMZ_PKCRYPT=ON \
-DMZ_WZAES=ON
else
MINIZIP_CONF_OPTS += -DMZ_OPENSSL=OFF
MINIZIP_CONF_OPTS += \
-DMZ_OPENSSL=OFF \
-DMZ_PKCRYPT=OFF \
-DMZ_WZAES=OFF
endif
ifeq ($(BR2_PACKAGE_XZ),y)