From d02882bd8a3649ba41ffc768338301ae179caf62 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Fri, 17 Feb 2023 12:17:32 +0100 Subject: [PATCH] tools: update-nghttp2 preserve config.h --- tools/update-nghttp2.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/update-nghttp2.sh b/tools/update-nghttp2.sh index dafa872385b005..ba01f8d6bdef9f 100755 --- a/tools/update-nghttp2.sh +++ b/tools/update-nghttp2.sh @@ -43,6 +43,10 @@ for dir in *; do rm -rf "$dir" done +# Refs: https://github.com/nodejs/node/issues/45572 +echo "Copying config.h file" +cp "$DEPS_DIR/nghttp2/lib/includes/config.h" "$WORKSPACE/nghttp2/lib/includes" + echo "Copying existing gyp files" cp "$DEPS_DIR/nghttp2/nghttp2.gyp" "$WORKSPACE/nghttp2"