On Wed, Aug 10, 2016 at 3:15 PM, Henry Bruce <[email protected]> wrote:

> We expect that any package that uses the npm bbclass
> will have a runtime dependency on node.js
>
> Signed-off-by: Henry Bruce <[email protected]>
> ---
>  meta/classes/npm.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
> index 95be751..541fd3b 100644
> --- a/meta/classes/npm.bbclass
> +++ b/meta/classes/npm.bbclass
> @@ -1,4 +1,5 @@
>  DEPENDS_prepend = "nodejs-native "
> +RDEPENDS_${PN}_prepend += "nodejs "
>

The += here is pointless. It adds a leading space, which does nothing, and
isn't needed for a prepend anyway. Just use =, the same as is used for
DEPENDS.


-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to