[SCons] Fix running test suite with minimal Python module
This commit is contained in:
parent
c512e2bcbb
commit
9ca2c16bc3
1 changed files with 3 additions and 2 deletions
|
|
@ -935,9 +935,10 @@ if env['python_package'] == 'new':
|
|||
env['python_package'] = 'full' # Allow 'new' as a synonym for 'full'
|
||||
warnNoPython = False
|
||||
|
||||
# The directory within the source tree which will contain the Python 2 module
|
||||
env['pythonpath_build2'] = Dir('build/python2').abspath
|
||||
|
||||
if env['python_package'] in ('full','default'):
|
||||
# The directory within the source tree which will contain the Python 2 module
|
||||
env['pythonpath_build2'] = Dir('build/python2').abspath
|
||||
if 'PYTHONPATH' in env['ENV']:
|
||||
env['pythonpath_build2'] += os.path.pathsep + env['ENV']['PYTHONPATH']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue