Skip to content

Commit 5259eca

Browse files
committed
Fix include path when pointing to Node.js source
Header files for deps are in a different location in the Node.js source tree compared to the release tarballs.
1 parent 05c4494 commit 5259eca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

addon.gypi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
'include_dirs': [
88
'<(node_root_dir)/include/node',
99
'<(node_root_dir)/src',
10+
'<(node_root_dir)/deps/cares/include',
11+
'<(node_root_dir)/deps/openssl/config',
12+
'<(node_root_dir)/deps/openssl/openssl/include/openssl',
1013
'<(node_root_dir)/deps/uv/include',
11-
'<(node_root_dir)/deps/v8/include'
14+
'<(node_root_dir)/deps/v8/include',
15+
'<(node_root_dir)/deps/zlib'
1216
],
1317
'defines!': [
1418
'BUILDING_UV_SHARED=1', # Inherited from common.gypi.

0 commit comments

Comments
 (0)