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 committed Nov 25, 2017
1 parent 35a8d73 commit 17f8dd6
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 17f8dd6

Please sign in to comment.