OpenModelica / OMSimulator

The OpenModelica FMI & SSP-based co-simulation environment.
Other
71 stars 50 forks source link

fix #8163 search for the libOMSimulator library in two places #1156

Closed adrpo closed 2 years ago

adrpo commented 2 years ago

Related Issues

https://github.com/OpenModelica/OpenModelica/issues/8163

Purpose

OMSimulator library is installed in /usr/lib/x86_64-linux-gnu/ and OMSimulator.py searches for it in /usr/lib/OMSimulator/x86_64-linux-gnu/. The fix is detailed below.

Approach

If you can't find the lib in /usr/lib/OMSimulator/x86_64-linux-gnu/ use the one in /usr/lib/OMSimulator/../x86_64-linux-gnu/