build: set `process.platform` to "darwin" on OS X
authorNathan Rajlich <nathan@tootallnate.net>
Wed, 11 Jan 2012 22:36:27 +0000 (14:36 -0800)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 12 Jan 2012 14:10:11 +0000 (15:10 +0100)
commit9ff86a2848c2e047ac05dd0fb6f584d8e3111ab7
tree1d49c2dc5327912bb29e8669abafe1be35dcc7a0
parent7dffbaf2ced12751b73e433b12721efa8b38ad5d
build: set `process.platform` to "darwin" on OS X

This is consistent with the old waf build system, and doesn't break old scripts
that are expecting the value to be "darwin".

Fixes #2518.
node.gyp