fc166894b3
minizip enables zip.h and unzip.h compatibility headers since version
2.7.2 and
1b2b32c8b8
This is an issue as php fails to build if minizip is built after libzip
because minizip installs a zip.h header without zip_stat, ZIP_CREATE,
ZIP_FL_NOCASE, zip_fopen, etc ...
So until the compatibility headers are enhanced/fixed in minizip, disable them
Fixes:
- http://autobuild.buildroot.org/results/7b41f4e4a521b1e17aa885aac4419b26e0dd8700
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# minizip
|
|
#
|
|
################################################################################
|
|
|
|
MINIZIP_VERSION = 2.8.2
|
|
MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION))
|
|
MINIZIP_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
$(if $(BR2_PACKAGE_LIBBSD),libbsd) \
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
MINIZIP_INSTALL_STAGING = YES
|
|
MINIZIP_CONF_OPTS = \
|
|
$(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DBUILD_TEST=ON) \
|
|
-DUSE_COMPAT=OFF
|
|
MINIZIP_LICENSE = Zlib
|
|
MINIZIP_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
MINIZIP_DEPENDENCIES += bzip2
|
|
MINIZIP_CONF_OPTS += -DUSE_BZIP2=ON
|
|
else
|
|
MINIZIP_CONF_OPTS += -DUSE_BZIP2=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MINIZIP_DEPENDENCIES += openssl
|
|
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=ON
|
|
else
|
|
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
MINIZIP_DEPENDENCIES += zlib
|
|
MINIZIP_CONF_OPTS += -DUSE_ZLIB=ON
|
|
else
|
|
MINIZIP_CONF_OPTS += -DUSE_ZLIB=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|