scons: Disable python state tracker when swig is not present.
This commit is contained in:
@@ -7,6 +7,9 @@ if env['toolchain'] == 'crossmingw':
|
||||
# Cross-compilation not supported
|
||||
Return()
|
||||
|
||||
if not env.Detect(['swig']):
|
||||
Return()
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Tool('python')
|
||||
|
||||
Reference in New Issue
Block a user