From 4f9b0ffba6ba455372df5a81dfd4310fcd5575ad Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 2 Jun 2013 19:25:43 -0700 Subject: [PATCH] scons: no need to check for boost python if boost headers are not found --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 97da03b34..4f63e49c2 100644 --- a/SConstruct +++ b/SConstruct @@ -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':