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
1 changed files with 1 additions and 1 deletions

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'