Skip to content

Commit

Permalink
fix #6179 link dynamically with -lstdc++ (#7017)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Dec 4, 2020
1 parent 13529df commit f6d7f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/Util/Autoconf.mo.omdev.mingw
Expand Up @@ -26,7 +26,7 @@ encapsulated package Autoconf
"-luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic";

constant String ldflags_runtime = " -lOpenModelicaRuntimeC" + ldflags_basic;
constant String ldflags_runtime_sim = " -Wl,-Bstatic -lSimulationRuntimeC -Wl,-Bdynamic" + ldflags_basic + " -lwsock32 -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic";
constant String ldflags_runtime_sim = " -Wl,-Bstatic -lSimulationRuntimeC -Wl,-Bdynamic" + ldflags_basic + " -lwsock32 -lstdc++";
constant String ldflags_runtime_fmu = " -Wl,-Bstatic -lregex -ltre -lintl -liconv -static-libgcc -lpthread -lm " +
libFortran +
"-lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex " +
Expand Down

0 comments on commit f6d7f17

Please sign in to comment.