Commit 4fc5fb50 authored by Maxime Perrotin's avatar Maxime Perrotin

Don't try to look for lib in current folder

rather rely on LD_LIBRARY_PATH
parent d168082e
......@@ -224,7 +224,7 @@ def gui():
# Load and run the startup transition of the shared library (Ada only?)
msgQ = False
try:
dll = CDLL('./lib{}.so'.format(datamodel.FVname.lower()))
dll = CDLL('lib{}.so'.format(datamodel.FVname.lower()))
dll_init = getattr(dll, '{}init'.format(datamodel.FVname.lower()))
dll_init()
except (AttributeError, OSError) as err:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment