Skip to contentSkip to conversation

php: fix removal of --with-zlib-dir configure option

PATCH New Gijs Peskens 1 participant 1 message Jul 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 php: fix removal of --with-zlib-dir configure option

From: Gijs Peskens <[email protected]>

PHP has removed the --with-zlib-dir configure option since that is now taken over by pkg-config, this breaks building PHP on Walnascar when zip is enabled via PACKAGECONFIG.
So remove it.

---
v2: Fix commit message

 meta-oe/recipes-devtools/php/php_8.4.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/php/php_8.4.10.bb +1 -1
index 4d598949a..4ed5d1e4f 100644
@@ -110,7 +110,7 @@ PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \
                           ,--without-sqlite3 --without-pdo-sqlite \
                           ,sqlite3"
 PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
-PACKAGECONFIG[zip] = "--with-zip --with-zlib-dir=${STAGING_EXECPREFIXDIR},,libzip"
+PACKAGECONFIG[zip] = "--with-zip,,libzip"
 
 export HOSTCC = "${BUILD_CC}"
 export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
Signature · 1 line
2.43.0