Skip to content

Commit

Permalink
Fix dependency problem with matlab library
Browse files Browse the repository at this point in the history
Building in parallel would error out because the macOS Matlab library
was relying on the static Cantera library before that was finished.
  • Loading branch information
bryanwweber authored and speth committed Nov 26, 2017
1 parent 2f03a1e commit 8312396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matlab/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 8312396

Please sign in to comment.