From 4f7e1f01717a4c3e1d7092c6e28a8aedb7303641 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 17 Sep 2016 16:53:19 +0300 Subject: [PATCH] FluisSynth dynamic library is now referenced by system specific name on macOS --- src/sound/music_fluidsynth_mididevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sound/music_fluidsynth_mididevice.cpp b/src/sound/music_fluidsynth_mididevice.cpp index b3f7b7d458..9777494fdb 100644 --- a/src/sound/music_fluidsynth_mididevice.cpp +++ b/src/sound/music_fluidsynth_mididevice.cpp @@ -59,7 +59,11 @@ #else #include +#ifdef __APPLE__ +#define FLUIDSYNTHLIB "libfluidsynth.1.dylib" +#else // !__APPLE__ #define FLUIDSYNTHLIB "libfluidsynth.so.1" +#endif // __APPLE__ #endif #define FLUID_REVERB_DEFAULT_ROOMSIZE 0.2f