scons: no need to check for boost python if boost headers are not found
This commit is contained in:
parent
540d275cd0
commit
4f9b0ffba6
1 changed files with 1 additions and 1 deletions
|
@ -1534,7 +1534,7 @@ if not preconfigured:
|
||||||
else:
|
else:
|
||||||
env['PYTHON_IS_64BIT'] = False
|
env['PYTHON_IS_64BIT'] = False
|
||||||
|
|
||||||
if 'python' in env['BINDINGS']:
|
if has_boost_devel and 'python' in env['BINDINGS']:
|
||||||
if py3 and env['BOOST_PYTHON_LIB'] == 'boost_python':
|
if py3 and env['BOOST_PYTHON_LIB'] == 'boost_python':
|
||||||
env['BOOST_PYTHON_LIB'] = 'boost_python3%s' % env['BOOST_APPEND']
|
env['BOOST_PYTHON_LIB'] = 'boost_python3%s' % env['BOOST_APPEND']
|
||||||
elif env['BOOST_PYTHON_LIB'] == 'boost_python':
|
elif env['BOOST_PYTHON_LIB'] == 'boost_python':
|
||||||
|
|
Loading…
Reference in a new issue