Skip to content

Commit

Permalink
Fix include path when pointing to Node.js source
Browse files Browse the repository at this point in the history
Header files for deps are in a different location in the Node.js
source tree compared to the release tarballs.
  • Loading branch information
richardlau committed Dec 8, 2016
1 parent 05c4494 commit e4441f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
'include_dirs': [
'<(node_root_dir)/include/node',
'<(node_root_dir)/src',
'<(node_root_dir)/deps/cares/include',
'<(node_root_dir)/deps/openssl/config',
'<(node_root_dir)/deps/openssl/openssl/include',
'<(node_root_dir)/deps/uv/include',
'<(node_root_dir)/deps/v8/include'
'<(node_root_dir)/deps/v8/include',
'<(node_root_dir)/deps/zlib'
],
'defines!': [
'BUILDING_UV_SHARED=1', # Inherited from common.gypi.
Expand Down

0 comments on commit e4441f8

Please sign in to comment.