diff options
| author | Henry Bruce <henry.bruce@intel.com> | 2016-08-10 16:26:37 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:41 +0100 |
| commit | caaff71f97ff7595d256d6b63f3400eee90f3a7b (patch) | |
| tree | 4779904097e7b765e2ec285e8a7a619dfff29368 | |
| parent | 322435b890577aab115a2c020303eef2077b826e (diff) | |
| download | poky-caaff71f97ff7595d256d6b63f3400eee90f3a7b.tar.gz | |
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>
| -rw-r--r-- | meta/classes/npm.bbclass | 1 |
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 @@ | |||
| 1 | DEPENDS_prepend = "nodejs-native " | 1 | DEPENDS_prepend = "nodejs-native " |
| 2 | RDEPENDS_${PN}_prepend = "nodejs " | ||
| 2 | S = "${WORKDIR}/npmpkg" | 3 | S = "${WORKDIR}/npmpkg" |
| 3 | 4 | ||
| 4 | NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}" | 5 | NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}" |
