package/php: fix zip support
authorLouis Aussedat <aussedat.louis@gmail.com>
Sat, 18 Apr 2020 09:03:42 +0000 (11:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Apr 2020 13:11:16 +0000 (15:11 +0200)
since php7.4, --enable-zip becomes --with-zip due to
migration to pkg-config.

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/php.mk

index 91f82dbf313a43df2e5c3f07413bad8b4cf092b8..8282bb1cc7e12367683eff84243f3954871aa838 100644 (file)
@@ -113,7 +113,7 @@ PHP_CONF_OPTS += \
        $(if $(BR2_PACKAGE_PHP_EXT_SYSVMSG),--enable-sysvmsg) \
        $(if $(BR2_PACKAGE_PHP_EXT_SYSVSEM),--enable-sysvsem) \
        $(if $(BR2_PACKAGE_PHP_EXT_SYSVSHM),--enable-sysvshm) \
-       $(if $(BR2_PACKAGE_PHP_EXT_ZIP),--enable-zip) \
+       $(if $(BR2_PACKAGE_PHP_EXT_ZIP),--with-zip) \
        $(if $(BR2_PACKAGE_PHP_EXT_CTYPE),--enable-ctype) \
        $(if $(BR2_PACKAGE_PHP_EXT_FILTER),--enable-filter) \
        $(if $(BR2_PACKAGE_PHP_EXT_CALENDAR),--enable-calendar) \