mirror of https://gitlab.com/ita1024/waf.git
Ensure env.PYTHON is set (regression)
This commit is contained in:
parent
6d19d4211d
commit
6702434df4
|
@ -591,7 +591,7 @@ def configure(conf):
|
||||||
if getattr(Options.options, 'nopycache', None):
|
if getattr(Options.options, 'nopycache', None):
|
||||||
v.NOPYCACHE=Options.options.nopycache
|
v.NOPYCACHE=Options.options.nopycache
|
||||||
|
|
||||||
conf.find_program('python', var='PYTHON', value=getattr(Options.options, 'python', sys.executable))
|
conf.find_program('python', var='PYTHON', value=getattr(Options.options, 'python', None) or sys.executable)
|
||||||
|
|
||||||
v.PYFLAGS = ''
|
v.PYFLAGS = ''
|
||||||
v.PYFLAGS_OPT = '-O'
|
v.PYFLAGS_OPT = '-O'
|
||||||
|
|
Loading…
Reference in New Issue