scons: no need to check for boost python if boost headers are not found

This commit is contained in:
Dane Springmeyer 2013-06-02 19:25:43 -07:00
parent 540d275cd0
commit 4f9b0ffba6

View file

@ -1534,7 +1534,7 @@ if not preconfigured:
else:
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':
env['BOOST_PYTHON_LIB'] = 'boost_python3%s' % env['BOOST_APPEND']
elif env['BOOST_PYTHON_LIB'] == 'boost_python':