diff --git a/tools/addon.gypi b/tools/addon.gypi index a38e7c50d28..89e71c0c502 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': [