Skip to content

Commit

Permalink
Explicitly link to boost system
Browse files Browse the repository at this point in the history
  • Loading branch information
mahge committed Oct 29, 2020
1 parent 83a972d commit d5e172e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/SimCode/SimCodeFunctionUtil.mo
Expand Up @@ -2645,7 +2645,7 @@ algorithm
cflags := if stringEq(Config.simCodeTarget(),"JavaScript") then "-Os -Wno-warn-absolute-paths" else cflags;
ldflags := System.getLDFlags();
if Flags.getConfigBool(Flags.PARMODAUTO) then
ldflags := "-lParModelicaAuto -ltbb_static " + ldflags;
ldflags := "-lParModelicaAuto -ltbb_static -lboost_system" + ldflags;
end if;
rtlibs := if isFunction then Autoconf.ldflags_runtime else (if isFMU then Autoconf.ldflags_runtime_fmu else Autoconf.ldflags_runtime_sim);
platform := System.modelicaPlatform();
Expand Down

0 comments on commit d5e172e

Please sign in to comment.