From 35e7ed0d97c8546f99dd4d89255123f1870563c2 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 6 Aug 2020 12:30:02 +0300 Subject: [PATCH] nodejs: Remove unneeded files. Closes #212 --- extra/nodejs/build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extra/nodejs/build b/extra/nodejs/build index cf85684f..96c88289 100755 --- a/extra/nodejs/build +++ b/extra/nodejs/build @@ -16,5 +16,7 @@ sed -i 's|/ (8|// (8|' tools/gyp/pylib/gyp/generator/ninja.py ninja -C out/Release tools/install.py install "$1" /usr -# Remove unneeded headers. +# Remove unneeded files. rm -rf "$1/usr/include/node/openssl" +rm -rf "$1/usr/lib/node_modules/npm/scripts" +rm -f "$1/usr/lib/node_modules/npm/configure"