[SCons] Force relink of Python extension when necessary

This commit is contained in:
Ray Speth 2014-02-21 19:07:58 +00:00
parent 8471200fc1
commit 3e073aae27

View file

@ -33,6 +33,7 @@ def configure_python(env, python_command):
def add_dependencies(mod, ext):
localenv.Depends(mod, ext)
localenv.Depends(mod, dataFiles + testFiles + scripts)
localenv.Depends(ext, localenv['cantera_staticlib'])
for f in (mglob(localenv, 'cantera/test', 'py') +
mglob(localenv, 'cantera/mixmaster', 'py') +