Browse Source

build: build addons into the "build" dir instead of "out"

This matches the old node-waf system. Having two different dirs for this stuff
is dumb.
v0.9.1-release
Nathan Rajlich 13 years ago
committed by isaacs
parent
commit
ba0892ba91
  1. 4
      tools/gyp_addon

4
tools/gyp_addon

@ -5,9 +5,9 @@ import sys
script_dir = os.path.dirname(__file__)
node_root = os.path.abspath(os.path.join(script_dir, os.pardir))
if sys.platform == 'win32':
output_dir = os.path.join(os.getcwd(), 'out')
output_dir = os.path.join(os.getcwd(), 'build')
else:
output_dir = 'out'
output_dir = 'build'
sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib'))
import gyp

Loading…
Cancel
Save