[oe] [PATCH] libsrtp: allow creation of empty package
Khem Raj
raj.khem at gmail.com
Mon Apr 9 04:58:38 UTC 2018
On 4/8/18 7:35 PM, Anuj Mittal wrote:
> Package PN is not created otherwise and results in errors like
>
> | Problem: conflicting requests
> | - nothing provides libsrtp = 1.5.2-r0 needed by libsrtp-dev-1.5.2-r0.i586
>
> when PN-staticdev is to be installed that RDEPENDS on it.
>
> Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
> ---
> meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb b/meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb
> index 8abaa12..0104d04 100644
> --- a/meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb
> +++ b/meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb
> @@ -18,3 +18,5 @@ do_install[postfuncs] += " rm_unused_bindir "
> rm_unused_bindir() {
> rmdir ${D}/${bindir}
> }
> +
> +ALLOW_EMPTY_${PN} = "1"
>
You wont need this change if you remove this dependency from dev packages
RDEPENDS_${PN}-dev = ""
RDEPENDS_${PN}-staticdev = ""
More information about the Openembedded-devel
mailing list