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.

PR-URL: #1055
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
richardlau authored and bnoordhuis committed Jun 8, 2018
1 parent 53d8cb9 commit 1e203c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
'include_dirs': [
'<(node_root_dir)/include/node',
'<(node_root_dir)/src',
'<(node_root_dir)/deps/openssl/config',
'<(node_root_dir)/deps/openssl/openssl/include',
'<(node_root_dir)/deps/uv/include',
'<(node_root_dir)/deps/zlib',
'<(node_root_dir)/<(node_engine_include_dir)'
],
'defines!': [
Expand Down

0 comments on commit 1e203c5

Please sign in to comment.