patch [#33669] SConstruct: Tell how to pass BF_PYTHON_INC to SCons is it is not found
from anatoly techtonik (techtonik)
This commit is contained in:
@@ -442,11 +442,12 @@ if env['WITH_BF_PYTHON']:
|
|||||||
found_pyconfig_h = True
|
found_pyconfig_h = True
|
||||||
|
|
||||||
if not (found_python_h and found_pyconfig_h):
|
if not (found_python_h and found_pyconfig_h):
|
||||||
print("\nMissing: Python.h and/or pyconfig.h in\"" + env.subst('${BF_PYTHON_INC}') + "\",\n"
|
print("""\nMissing: Python.h and/or pyconfig.h in "%s"
|
||||||
" Set 'BF_PYTHON_INC' to point "
|
Set 'BF_PYTHON_INC' to point to valid include path(s),
|
||||||
"to valid python include path(s).\n Containing "
|
containing Python.h and pyconfig.h for Python version "%s".
|
||||||
"Python.h and pyconfig.h for python version \"" + env.subst('${BF_PYTHON_VERSION}') + "\"")
|
|
||||||
|
|
||||||
|
Example: python scons/scons.py BF_PYTHON_INC=../Python/include
|
||||||
|
""" % (env.subst('${BF_PYTHON_INC}'), env.subst('${BF_PYTHON_VERSION}')))
|
||||||
Exit()
|
Exit()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user