From 39ce94276ae31be733d9e6de61764d0485322374 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Mon, 5 Mar 2012 12:21:16 -0800 Subject: [PATCH] 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 TooTallNate/node-gyp#15 for the gory details. --- tools/addon.gypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/addon.gypi b/tools/addon.gypi index a38e7c50d2..89e71c0c50 100644 --- a/tools/addon.gypi +++ b/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': [