From 360c7be3151e462f2d5067a479ef6873447f5d4e Mon Sep 17 00:00:00 2001 From: Facundo Tuesca Date: Fri, 18 Nov 2022 12:47:55 +0100 Subject: [PATCH] tools: add missing step in update-base64.sh script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/45509 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli Reviewed-By: Richard Lau --- tools/update-base64.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/update-base64.sh b/tools/update-base64.sh index 251399a35df59e..50b8da7adb867c 100755 --- a/tools/update-base64.sh +++ b/tools/update-base64.sh @@ -34,6 +34,10 @@ echo "Replacing existing base64" rm -rf "$DEPS_DIR/base64/base64" mv "$WORKSPACE/base64" "$DEPS_DIR/base64/" +# Build configuration is handled by `deps/base64/base64.gyp`, but since `config.h` has to be present for the build +# to work, we create it and leave it empty. +echo "// Intentionally empty" >> "$DEPS_DIR/base64/base64/lib/config.h" + echo "All done!" echo "" echo "Please git add base64/base64, commit the new version:"