Skip to content

Commit 97c4db4

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 6b68b60 commit 97c4db4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addon.gypi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
'include_dirs': [
1919
'<(node_root_dir)/include/node',
2020
'<(node_root_dir)/src',
21+
'<(node_root_dir)/deps/openssl/config',
22+
'<(node_root_dir)/deps/openssl/openssl/include',
2123
'<(node_root_dir)/deps/uv/include',
24+
'<(node_root_dir)/deps/v8/include',
25+
'<(node_root_dir)/deps/zlib',
2226
'<(node_root_dir)/<(node_engine_include_dir)'
2327
],
2428
'defines!': [

0 commit comments

Comments
 (0)