From 4737a206623a49a433fb4b64372d3906f2e3b3c5 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Tue, 21 Feb 2023 18:12:20 +0100 Subject: [PATCH] tools: update-nghttp2 preserve config.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/46698 Refs: https://github.com/nodejs/node/issues/45572 Reviewed-By: Yagiz Nizipli Reviewed-By: Rafael Gonzaga Reviewed-By: Colin Ihrig Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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"