From 1aeef146e0e235479ffb2c379fc34f023054f230 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 7 Jul 2019 11:39:57 +0300 Subject: [PATCH] - fixed linking without DYN_FLUIDSYNTH defined Undefined symbols for architecture x86_64: "CreateFluidSynthMIDIDevice(char const*, int)", referenced from: MIDIStreamer::CreateMIDIDevice(EMidiDevice, int) in music_midistream.o --- src/sound/mididevices/music_fluidsynth_mididevice.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sound/mididevices/music_fluidsynth_mididevice.cpp b/src/sound/mididevices/music_fluidsynth_mididevice.cpp index a83d59e11..bf3b6d061 100644 --- a/src/sound/mididevices/music_fluidsynth_mididevice.cpp +++ b/src/sound/mididevices/music_fluidsynth_mididevice.cpp @@ -811,6 +811,8 @@ void FluidSynthMIDIDevice::UnloadFluidSynth() FluidSynthModule.Unload(); } +#endif + //========================================================================== // // @@ -821,7 +823,3 @@ MIDIDevice *CreateFluidSynthMIDIDevice(const char *args, int samplerate) { return new FluidSynthMIDIDevice(args, samplerate); } - -#endif - -