2
0
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:
fedepell 2016-09-14 21:09:45 +02:00
parent 87e6a7c143
commit e8f6d4bfe7

View File

@ -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'