Permalink
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...
1 parent 1520c7b commit 39ce94276ae31be733d9e6de61764d0485322374 @TooTallNate TooTallNate committed with bnoordhuis Mar 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/addon.gypi
View
@@ -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.