This repository was archived by the owner on May 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2123,6 +2123,24 @@ algorithm
21232123 case Absyn . STRING ("lapack" ) then ({},{});
21242124 case Absyn . STRING ("Lapack" ) then ({},{});
21252125
2126+ // pthreads is already linked under windows
2127+ case Absyn . STRING (str as "pthread" ) guard System . os()== "Windows_NT"
2128+ equation
2129+ Error . addCompilerNotification("pthreads library is already available. It is not linked from the external library resource directory. \n " );
2130+ then ({},{});
2131+
2132+ // user32 is already linked under windows
2133+ case Absyn . STRING (str as "User32" ) guard System . os()== "Windows_NT"
2134+ equation
2135+ Error . addCompilerNotification("User32 library is already available. It is not linked from the external library resource directory. \n " );
2136+ then ({},{});
2137+
2138+ // do not link X11.dll for Modelica Device Drivers as it is not needed under windows
2139+ case Absyn . STRING (str as "X11" ) guard System . os()== "Windows_NT"
2140+ equation
2141+ Error . addCompilerNotification("X11 library is not needed under Windows. It is not linked from the external library resource directory. \n " );
2142+ then ({},{});
2143+
21262144 case Absyn . STRING (str as "omcruntime" )
21272145 equation
21282146 if "Windows_NT" == System . os() then
You can’t perform that action at this time.
0 commit comments