Skip to contentSkip to conversation

php: fix build breakage

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 25, 2011 – Nov 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 php: fix build breakage

The zip extension requires zlib, so select it.

---
 package/php/Config.ext |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
package/php/Config.ext +2 -0
index 4f1614e..6df8cc3 100644
@@ -125,6 +125,8 @@ config BR2_PACKAGE_PHP_EXT_SYSVSHM
 
 config BR2_PACKAGE_PHP_EXT_ZIP
 	bool "zip"
+	select BR2_PACKAGE_PHP_EXT_ZLIB
+	select BR2_PACKAGE_ZLIB
 	help
 	  Zip read/write support
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 php: fix build breakage

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> The zip extension requires zlib, so select it.

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---

 Gustavo>  package/php/Config.ext |    2 ++

Gustavo> 1 files changed, 2 insertions(+), 0 deletions(-)

Gustavo> diff --git a/package/php/Config.ext b/package/php/Config.ext Gustavo> index 4f1614e..6df8cc3 100644
Gustavo> --- a/package/php/Config.ext
Gustavo> +++ b/package/php/Config.ext
Gustavo> @@ -125,6 +125,8 @@ config BR2_PACKAGE_PHP_EXT_SYSVSHM

Gustavo> config BR2_PACKAGE_PHP_EXT_ZIP
Gustavo> bool "zip"
Gustavo> + select BR2_PACKAGE_PHP_EXT_ZLIB
Gustavo> + select BR2_PACKAGE_ZLIB

Thanks, but selecting the zlib extension doesn't seem completely right (not a big deal, but still), so I've changed it to only select zlib + add the --with-zlib / add zlib to deps in the .mk instead.

Signature · 1 line
Bye, Peter Korsgaard