[oe] [meta-oe][V2][PATCH 1/1] php: zlib and zip support

Randy MacLeod randy.macleod at windriver.com
Thu Aug 15 23:00:32 UTC 2019


On 8/15/19 5:26 PM, Joe Slater wrote:
> Add back zlib support.  Define zip support but do not enable it.

Can you explain what that achieves.
 From the change it looks like you have duplicated the
default config and added a PACKAGECONFIG. Why do you need both?

../Randy
> 
> Signed-off-by: Joe Slater <joe.slater at windriver.com>
> ---
>   meta-oe/recipes-devtools/php/php.inc | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
> index 33bcf12..b63ed4c 100644
> --- a/meta-oe/recipes-devtools/php/php.inc
> +++ b/meta-oe/recipes-devtools/php/php.inc
> @@ -59,7 +59,7 @@ EXTRA_OECONF = "--enable-mbstring \
>                   --enable-fpm \
>                   --with-libdir=${baselib} \
>                   --with-gettext=${STAGING_LIBDIR}/.. \
> -                --with-libzip=${STAGING_LIBDIR}/.. \
> +                --with-zlib=${STAGING_LIBDIR}/.. \
>                   --with-iconv=${STAGING_LIBDIR}/.. \
>                   --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
>                   --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \
> @@ -81,6 +81,8 @@ PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \
>   "
>   PACKAGECONFIG_class-native = ""
>   
> +PACKAGECONFIG[zip] = "--enable-zip --with-libzip=${STAGING_EXECPREFIXDIR},,libzip"
> +
>   PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \
>                           --with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \
>                           --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \
> 


-- 
# Randy MacLeod
# Wind River Linux


More information about the Openembedded-devel mailing list