Permalink
Browse files

addon: use ConfigurationName to get the build type

just Configuration was causing problems on Windows machines where multiple
versions of MSVS are installed at once (2008 and 2010 at once were reported).

see nodejs/node-gyp#35.
  • Loading branch information...
1 parent 9b672bc commit bec5b8fe587800f76442d282c69f3ac17d55a620 @TooTallNate committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/addon.gypi
View
@@ -14,7 +14,7 @@
'libraries': [ '-undefined dynamic_lookup' ],
}],
[ 'OS=="win"', {
- 'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
+ 'libraries': [ '-l<(node_root_dir)/$(ConfigurationName)/node.lib' ],
}],
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
'cflags': [ '-fPIC' ],

0 comments on commit bec5b8f

Please sign in to comment.