From 5a71be469ae191f1a67963956d6c0f17fee6d1db Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 25 Dec 2020 23:13:43 +0100 Subject: [PATCH] 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 f9d31de3b7585e3521aafe2089fcff79bf7f037d Fixes: - http://autobuild.buildroot.org/results/ae16497bf56df9ce4be97651b5ce65f75bdf909f Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/minizip/minizip.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk index e2abfd4f20..9e60bc2aab 100644 --- a/package/minizip/minizip.mk +++ b/package/minizip/minizip.mk @@ -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) -- 2.30.2