Skip to content

Commit 582614e

Browse files
committed
- fmilib needs shlwapi, not OpenModelicaFMIRuntimeC
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24918 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent adae419 commit 582614e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Compiler/SimCode/SimCodeUtil.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9593,8 +9593,8 @@ algorithm
95939593
str = System.getCorbaLibs();
95949594
then ({str},{});
95959595

9596-
case Absyn.STRING("OpenModelicaFMIRuntimeC")
9597-
then ({"OpenModelicaFMIRuntimeC.lib","shlwapi.lib"},{});
9596+
case Absyn.STRING("fmilib")
9597+
then ({"fmilib.lib","shlwapi.lib"},{});
95989598

95999599
// If the string starts with a -, it's probably -l or -L gcc flags
96009600
case Absyn.STRING(str)
@@ -9649,8 +9649,8 @@ algorithm
96499649
str = System.getCorbaLibs();
96509650
then ({str},{});
96519651

9652-
case Absyn.STRING("OpenModelicaFMIRuntimeC")
9653-
then (if System.os()=="Windows_NT" then {"-lOpenModelicaFMIRuntimeC","-lfmilib","-lshlwapi"} else {"-lOpenModelicaFMIRuntimeC"},{});
9652+
case Absyn.STRING("fmilib")
9653+
then (if System.os()=="Windows_NT" then {"-lfmilib","-lshlwapi"} else {"-lfmilib"},{});
96549654

96559655
case Absyn.STRING(str)
96569656
equation

0 commit comments

Comments
 (0)