diff options
-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 9703f4c1ec..4b1f0a39f0 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass | |||
@@ -56,6 +56,7 @@ npm_do_install() { | |||
56 | local NPM_PACKFILE=$(npm pack .) | 56 | local NPM_PACKFILE=$(npm pack .) |
57 | npm install --prefix ${D}${prefix} -g --arch=${NPM_ARCH} --target_arch=${NPM_ARCH} --production --no-registry ${NPM_PACKFILE} | 57 | npm install --prefix ${D}${prefix} -g --arch=${NPM_ARCH} --target_arch=${NPM_ARCH} --production --no-registry ${NPM_PACKFILE} |
58 | ln -fs node_modules ${D}${libdir}/node | 58 | ln -fs node_modules ${D}${libdir}/node |
59 | find ${D}${NPM_INSTALLDIR} -type f \( -name "*.a" -o -name "*.d" -o -name "*.o" \) -delete | ||
59 | if [ -d ${D}${prefix}/etc ] ; then | 60 | if [ -d ${D}${prefix}/etc ] ; then |
60 | # This will be empty | 61 | # This will be empty |
61 | rmdir ${D}${prefix}/etc | 62 | rmdir ${D}${prefix}/etc |