Merge pull request #1812 from fedepell/python-exe

Correct option used for python executable (--python and not --pythondir)
This commit is contained in:
ita1024 2016-09-14 22:02:05 +02:00 committed by GitHub
commit a621e9a0dc
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'