Browse Source

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

improved nan location discovery, fixes #339
v1.x
Juriy Zaytsev 11 years ago
parent
commit
db03648a83
  1. 2
      binding.gyp

2
binding.gyp

@ -21,7 +21,7 @@
'targets': [ 'targets': [
{ {
'target_name': 'canvas', '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': [ 'sources': [
'src/Canvas.cc', 'src/Canvas.cc',
'src/CanvasGradient.cc', 'src/CanvasGradient.cc',

Loading…
Cancel
Save