[oe] [meta-oe][PATCH 3/3] php: add libgcc to the runtime depends

Khem Raj raj.khem at gmail.com
Wed Sep 20 15:32:01 UTC 2017


On Wed, Sep 20, 2017 at 8:11 AM, Derek Straka <derek at asterius.io> wrote:
> Avoids issues with 'libgcc_s.so.1 must be installed for pthread_cancel to work'
>
> Signed-off-by: Derek Straka <derek at asterius.io>
> ---
>  meta-oe/recipes-devtools/php/php.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
> index 0e55020..283d630 100644
> --- a/meta-oe/recipes-devtools/php/php.inc
> +++ b/meta-oe/recipes-devtools/php/php.inc
> @@ -203,6 +203,7 @@ MODPHP_PACKAGE = "${@bb.utils.contains('PACKAGECONFIG', 'apache2', '${PN}-modphp
>
>  PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-phar ${MODPHP_PACKAGE} ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
>
> +RDEPENDS_${PN} += "libgcc"

this reminds that we need to make libgcc provide something like
compiler/runtime which then can be depended upon by packages
since clang also has a compiler runtime and we might have to make
way to choose it at distro level rather

>  RDEPENDS_${PN}-pear = "${PN}"
>  RDEPENDS_${PN}-phar = "${PN}-cli"
>  RDEPENDS_${PN}-cli = "${PN}"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list