package/php: fix build without zlib
PATCH 1/1 package/php: fix build without zlib
Build will fail if zlib is not found and mysqlnd compression support is not disabled since version 7.4.1 and
https://github.com/php/php-src/commit/ee4295b4ce421003c2e1d2af98066826deb23319
Fixes:
- http://autobuild.buildroot.org/results/9496d81437dba55d22a03762dcfe60d632115ab5
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/php/php.mk | 2 ++ 1 file changed, 2 insertions(+)
package/php/php.mk +2 -0
@@ -174,6 +174,8 @@ endif ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),) PHP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr PHP_DEPENDENCIES += zlib +else +PHP_CONF_OPTS += --disable-mysqlnd_compression_support endif ifeq ($(BR2_PACKAGE_PHP_EXT_GETTEXT),y)
Signature · 1 line
2.25.0
PATCH 1/1 package/php: fix build without zlib
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Build will fail if zlib is not found and mysqlnd compression support is not disabled since version 7.4.1 and
https://github.com/php/php-src/commit/ee4295b4ce421003c2e1d2af98066826deb23319Fixes:
- http://autobuild.buildroot.org/results/9496d81437dba55d22a03762dcfe60d632115ab5Signed-off-by Fabrice Fontaine <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard