]> code.ossystems Code Review - openembedded-core.git/commitdiff
npm: npm.bbclass now adds nodejs to RDEPENDS
authorHenry Bruce <henry.bruce@intel.com>
Wed, 10 Aug 2016 23:26:37 +0000 (16:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:33:28 +0000 (10:33 +0100)
We expect that any package that uses the npm bbclass
will have a runtime dependency on node.js

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/npm.bbclass

index 95be7518a8b641deda067c59bc3c7ab188038f89..55c7c3e2781b879b18ef1ad845d55f8c0d829f6a 100644 (file)
@@ -1,4 +1,5 @@
 DEPENDS_prepend = "nodejs-native "
+RDEPENDS_${PN}_prepend = "nodejs "
 S = "${WORKDIR}/npmpkg"
 
 NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"