Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
addon: use absolute paths for the node include dirs
Browse files Browse the repository at this point in the history
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
TooTallNate authored and bnoordhuis committed Mar 5, 2012
1 parent 1520c7b commit 39ce942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/addon.gypi
Expand Up @@ -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': [
Expand Down

0 comments on commit 39ce942

Please sign in to comment.