Skip to content

Commit 6260c19

Browse files
committed
Temporary fix to nodejs#65026
1 parent 688df4f commit 6260c19

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎node.gyp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@
11241124
# javascript files to make for an even more pleasant IDE experience
11251125
'<@(library_files)',
11261126
'<@(deps_files)',
1127+
'src/node_dummy.cc', # Temporary fix to https://github.com/nodejs/node/issues/65026
11271128
],
11281129

11291130
'conditions': [

‎src/node_dummy.cc‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
// Temporary fix to https://github.com/nodejs/node/issues/65026
3+
// Adding this dummy file to the sources list for libnode.a
4+
5+
#include "node_version.h"
6+
7+
namespace node {
8+
9+
// This is a dummy variable to ensure that a source is linked into the libnode.a
10+
const char* const dummyNodeVersionString = NODE_VERSION_STRING;
11+
12+
} // namespace node

0 commit comments

Comments
 (0)