Permalink
Browse files

improved nan location discovery, fixes #339

  • Loading branch information...
1 parent da8a6e3 commit 5b1886340c717695b7719ea59211c5522a55a12b @rvagg rvagg committed Oct 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 binding.gyp
View
2 binding.gyp
@@ -21,7 +21,7 @@
'targets': [
{
'target_name': 'canvas',
- 'include_dirs': ["<!(node -p -e \"require('path').dirname(require.resolve('nan'))\")"],
+ 'include_dirs': ["<!(node -p -e \"require('path').relative('.', require('path').dirname(require.resolve('nan')))\")"],
'sources': [
'src/Canvas.cc',
'src/CanvasGradient.cc',

0 comments on commit 5b18863

Please sign in to comment.