From: Richard Purdie Date: Fri, 26 Feb 2016 17:53:04 +0000 (+0000) Subject: base: Add nodejs-native dependency for npm:// urls X-Git-Tag: 2016-4~741 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=500c432419739e2be247d6feea3f4d85eb7ddfd0;p=openembedded-core.git base: Add nodejs-native dependency for npm:// urls With the addition of the npm fetcher, we add the native dependency handling too. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1372f38461..e066dc986f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -577,6 +577,9 @@ python () { elif scheme == "osc": d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot') + elif scheme == "npm": + d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot') + # *.lz4 should DEPEND on lz4-native for unpacking if path.endswith('.lz4'): d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')