From ad8992209013d1a004a2623b5881275d3ffb6b7b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 4 Mar 2020 22:57:53 +0200 Subject: [PATCH] nodejs: Remove unneeded headers --- extra/nodejs/build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/extra/nodejs/build b/extra/nodejs/build index bcdc9d77..8e94e1b5 100755 --- a/extra/nodejs/build +++ b/extra/nodejs/build @@ -1,15 +1,17 @@ #!/bin/sh -e -export DESTDIR="$1" - ./configure \ - --prefix=/usr \ --shared-zlib \ --without-intl \ --without-etw \ --without-dtrace \ --without-report \ + --without-node-snapshot \ + --without-node-code-cache \ --ninja ninja -C out/Release tools/install.py install "$1" /usr + +# Remove unneeded headers. +rm -rf "$1/usr/include/node/openssl"