summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Bruce <henry.bruce@intel.com>2016-08-10 16:26:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:33:28 +0100
commit769fae0b74d7c7992aa593907f446fab98ef5128 (patch)
treedfaf2a32f45fa8da7d38033527b987decaca06fe
parent8c556252b6c60d2fdbb9cd6d601206501467d2db (diff)
downloadopenembedded-core-769fae0b74d7c7992aa593907f446fab98ef5128.tar.gz
openembedded-core-769fae0b74d7c7992aa593907f446fab98ef5128.tar.bz2
openembedded-core-769fae0b74d7c7992aa593907f446fab98ef5128.zip
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 Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/npm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
index 95be7518a8..55c7c3e278 100644
--- a/meta/classes/npm.bbclass
+++ b/meta/classes/npm.bbclass
@@ -1,4 +1,5 @@
DEPENDS_prepend = "nodejs-native "
+RDEPENDS_${PN}_prepend = "nodejs "
S = "${WORKDIR}/npmpkg"
NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"