Skip to contentSkip to conversation

npm: npm.bbclass now adds nodejs to RDEPENDS

PATCH New Henry Bruce 1 participant 1 message Aug 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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

---
 meta/classes/npm.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/npm.bbclass +1 -0
index 95be751..55c7c3e 100644
@@ -1,4 +1,5 @@
 DEPENDS_prepend = "nodejs-native "
+RDEPENDS_${PN}_prepend = "nodejs "
 S = "${WORKDIR}/npmpkg"
 
 NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"
Signature · 1 line
2.4.11