We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e16ad commit 8dedc93Copy full SHA for 8dedc93
tools/gyp_node.py
@@ -14,13 +14,9 @@
14
output_dir = os.path.join(os.path.abspath(node_root), 'out')
15
16
def run_gyp(args):
17
- # GYP bug.
18
- # On msvs it will crash if it gets an absolute path.
19
- # On Mac/make it will crash if it doesn't get an absolute path.
20
- a_path = node_root if sys.platform == 'win32' else os.path.abspath(node_root)
21
- args.append(os.path.join(a_path, 'node.gyp'))
22
- common_fn = os.path.join(a_path, 'common.gypi')
23
- options_fn = os.path.join(a_path, 'config.gypi')
+ args.append(os.path.join(node_root, 'node.gyp'))
+ common_fn = os.path.join(node_root, 'common.gypi')
+ options_fn = os.path.join(node_root, 'config.gypi')
24
25
if os.path.exists(common_fn):
26
args.extend(['-I', common_fn])
0 commit comments