diff options
| -rw-r--r-- | meta/classes/npm.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 86ee0f665a..dbfc2e728e 100644 --- a/meta/classes/npm.bbclass +++ b/meta/classes/npm.bbclass | |||
| @@ -307,10 +307,6 @@ npm_do_install() { | |||
| 307 | # Remove the shrinkwrap file which does not need to be packed | 307 | # Remove the shrinkwrap file which does not need to be packed |
| 308 | rm -f ${D}/${nonarch_libdir}/node_modules/*/npm-shrinkwrap.json | 308 | rm -f ${D}/${nonarch_libdir}/node_modules/*/npm-shrinkwrap.json |
| 309 | rm -f ${D}/${nonarch_libdir}/node_modules/@*/*/npm-shrinkwrap.json | 309 | rm -f ${D}/${nonarch_libdir}/node_modules/@*/*/npm-shrinkwrap.json |
| 310 | |||
| 311 | # node(1) is using /usr/lib/node as default include directory and npm(1) is | ||
| 312 | # using /usr/lib/node_modules as install directory. Let's make both happy. | ||
| 313 | ln -fs node_modules ${D}/${nonarch_libdir}/node | ||
| 314 | } | 310 | } |
| 315 | 311 | ||
| 316 | FILES:${PN} += " \ | 312 | FILES:${PN} += " \ |
