Fix dependency problem with matlab library

Building in parallel would error out because the macOS Matlab library
was relying on the static Cantera library before that was finished.
This commit is contained in:
Bryan W. Weber 2017-11-25 11:08:37 -05:00 committed by Ray Speth
parent 2f03a1e531
commit 831239633d

View file

@ -68,7 +68,7 @@ ctmethods = build(localenv.SharedLibrary('#interfaces/matlab/toolbox/ctmethods',
SHLIBSUFFIX=mexSuffix,
LIBS=linklibs))
if localenv['OS'] in ('Windows', 'Darwin'):
if localenv['OS'] in ('Windows'):
localenv.Depends(ctmethods, localenv['cantera_shlib'])
else:
localenv.Depends(ctmethods, localenv['cantera_staticlib'])