From 17349a2f42b5826703e8c45fae8636006bb0803d Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 19 Oct 2022 18:27:53 +0100 Subject: [PATCH] build: restore Windows resource file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add back the Windows resource file to the build scripts that was mistakenly removed by aa3a572e6b. PR-URL: https://github.com/nodejs/node/pull/45042 Fixes: https://github.com/nodejs/node/issues/45025 Refs: https://github.com/nodejs/node/pull/43652 Reviewed-By: Michaƫl Zasso Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Rafael Gonzaga Reviewed-By: Jiawen Geng Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Darshan Sen --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node.gyp b/node.gyp index 562ff709d837f3..a3ae91c90124de 100644 --- a/node.gyp +++ b/node.gyp @@ -232,6 +232,9 @@ '-Wl,--no-whole-archive', ], }], + [ 'OS=="win"', { + 'sources': [ 'src/res/node.rc' ], + }], ], }], [ 'node_shared=="true"', {