midi_fluidsynth: Also look for libfluidsynth2 on Linux

This commit is contained in:
RichardG867
2022-02-14 11:54:26 -03:00
parent ceabbd8176
commit 70219ec6a2

View File

@@ -239,6 +239,8 @@ void* fluidsynth_init(const device_t *info)
fluidsynth_handle = dynld_module("libfluidsynth.dylib", fluidsynth_imports);
#else
fluidsynth_handle = dynld_module("libfluidsynth.so.3", fluidsynth_imports);
if (fluidsynth_handle == NULL)
fluidsynth_handle = dynld_module("libfluidsynth.so.2", fluidsynth_imports);
#endif
if (fluidsynth_handle == NULL)
{