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 959a19e commit f4d16fbc50dd2b7422a05f9dfb4823390a4f7e7d @TooTallNate committed 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 f4d16fb

Please sign in to comment.