Permalink
Browse files

Merge pull request #340 from rvagg/path-spaces-nan-fix

improved nan location discovery, fixes #339
  • Loading branch information...
2 parents da8a6e3 + 5b18863 commit db03648a83a7ff9bb4761a337dbd874afeac42df @kangax kangax committed Oct 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 binding.gyp
View
@@ -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 db03648

Please sign in to comment.