Skip to content

Commit a7e5a68

Browse files
committed
Fix Node 10 Windows build issue
1 parent 7c325a5 commit a7e5a68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

binding.gyp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"targets": [
9696
{
9797
"target_name": "agentcore",
98+
"win_delay_load_hook": "false",
9899
"type": "shared_library",
99100
"sources": [
100101
"<(srcdir)/common/Logger.cpp",
@@ -140,6 +141,7 @@
140141
},
141142
{
142143
"target_name": "hcmqtt",
144+
"win_delay_load_hook": "false",
143145
"type": "shared_library",
144146
"sources": [
145147
"<(pahosrcdir)/Clients.c",
@@ -171,6 +173,7 @@
171173
},
172174
{
173175
"target_name": "cpuplugin",
176+
"win_delay_load_hook": "false",
174177
"type": "shared_library",
175178
"sources": [
176179
"<(srcdir)/monitoring/plugins/common/cpu/cpuplugin.cpp",
@@ -193,6 +196,7 @@
193196
},
194197
{
195198
"target_name": "memoryplugin",
199+
"win_delay_load_hook": "false",
196200
"type": "shared_library",
197201
"sources": [
198202
"<(srcdir)/monitoring/plugins/common/memory/MemoryPlugin.cpp",
@@ -205,13 +209,15 @@
205209
},
206210
{
207211
"target_name": "envplugin",
212+
"win_delay_load_hook": "false",
208213
"type": "shared_library",
209214
"sources": [
210215
"<(srcdir)/monitoring/plugins/common/environment/envplugin.cpp",
211216
],
212217
},
213218
{
214219
"target_name": "hcapiplugin",
220+
"win_delay_load_hook": "false",
215221
"type": "shared_library",
216222
"sources": [
217223
"<(srcdir)/monitoring/connector/api/APIConnector.cpp",
@@ -233,6 +239,7 @@
233239
},
234240
{
235241
"target_name": "headlessplugin",
242+
"win_delay_load_hook": "false",
236243
"type": "shared_library",
237244
"sources": [
238245
"<(srcdir)/monitoring/connector/headless/HLConnector.cpp",
@@ -241,6 +248,7 @@
241248
},
242249
{
243250
"target_name": "external",
251+
"win_delay_load_hook": "false",
244252
"type": "none",
245253
"dependencies": [
246254
"agentcore",

0 commit comments

Comments
 (0)