Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

addon: use absolute paths for the node include dirs

This fixes running gyp_addon from across filesystems on Windows.

This is essentially a gyp bug where it's not relativizing properly
across filesystems. See nodejs/node-gyp#15 for the gory details.
  • Loading branch information...
commit 39ce94276ae31be733d9e6de61764d0485322374 1 parent 1520c7b
@TooTallNate TooTallNate authored bnoordhuis committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/addon.gypi
View
6 tools/addon.gypi
@@ -4,9 +4,9 @@
'product_extension': 'node',
'product_prefix': '',
'include_dirs': [
- '../src',
- '../deps/uv/include',
- '../deps/v8/include'
+ '<(node_root_dir)/src',
+ '<(node_root_dir)/deps/uv/include',
+ '<(node_root_dir)/deps/v8/include'
],
'conditions': [

0 comments on commit 39ce942

Please sign in to comment.
Something went wrong with that request. Please try again.