mirror of https://github.com/nodejs/node.git
build: Makefile should respect configure --prefix
Fixes a regression that got introduced in commit ddf4d1a
.
pull/41362/head
parent
ddf4d1a32a
commit
85e4fc4306
|
@ -656,6 +656,10 @@ config = {
|
||||||
'USE_XCODE': str(int(options.use_xcode or 0)),
|
'USE_XCODE': str(int(options.use_xcode or 0)),
|
||||||
'PYTHON': sys.executable,
|
'PYTHON': sys.executable,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if options.prefix:
|
||||||
|
config['PREFIX'] = options.prefix
|
||||||
|
|
||||||
config = '\n'.join(map('='.join, config.iteritems())) + '\n'
|
config = '\n'.join(map('='.join, config.iteritems())) + '\n'
|
||||||
|
|
||||||
write('config.mk',
|
write('config.mk',
|
||||||
|
|
Loading…
Reference in New Issue