npm: npm.bbclass now adds nodejs to RDEPENDS

We expect that any package that uses the npm bbclass
will have a runtime dependency on node.js

(From OE-Core rev: 769fae0b74d7c7992aa593907f446fab98ef5128)

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Henry Bruce 2016-08-10 16:26:37 -07:00 committed by Richard Purdie
parent 322435b890
commit caaff71f97
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
DEPENDS_prepend = "nodejs-native "
RDEPENDS_${PN}_prepend = "nodejs "
S = "${WORKDIR}/npmpkg"
NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"