mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
Correct option used for python executable (--python and not --pythondir)
This commit is contained in:
parent
87e6a7c143
commit
e8f6d4bfe7
@ -583,7 +583,7 @@ def configure(conf):
|
||||
if Options.options.pythonarchdir:
|
||||
v.PYTHONARCHDIR = Options.options.pythonarchdir
|
||||
|
||||
conf.find_program('python', var='PYTHON', value=Options.options.pythondir or sys.executable)
|
||||
conf.find_program('python', var='PYTHON', value=Options.options.python or sys.executable)
|
||||
|
||||
v.PYFLAGS = ''
|
||||
v.PYFLAGS_OPT = '-O'
|
||||
|
Loading…
Reference in New Issue
Block a user