diff options
-rw-r--r-- | meta/classes/npm.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 88d8de91e9..b7c9c40811 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass | |||
@@ -236,6 +236,9 @@ python npm_do_compile() { | |||
236 | sysroot = d.getVar("RECIPE_SYSROOT_NATIVE") | 236 | sysroot = d.getVar("RECIPE_SYSROOT_NATIVE") |
237 | nodedir = os.path.join(sysroot, d.getVar("prefix_native").strip("/")) | 237 | nodedir = os.path.join(sysroot, d.getVar("prefix_native").strip("/")) |
238 | configs.append(("nodedir", nodedir)) | 238 | configs.append(("nodedir", nodedir)) |
239 | bindir = os.path.join(sysroot, d.getVar("bindir_native").strip("/")) | ||
240 | pythondir = os.path.join(bindir, "python-native", "python") | ||
241 | configs.append(("python", pythondir)) | ||
239 | 242 | ||
240 | # Pack and install the main package | 243 | # Pack and install the main package |
241 | tarball = npm_pack(env, d.getVar("NPM_PACKAGE"), tmpdir) | 244 | tarball = npm_pack(env, d.getVar("NPM_PACKAGE"), tmpdir) |