aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--ports.mk6
2 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index d4fec02c64..211d9e6e8d 100755
--- a/configure
+++ b/configure
@@ -3363,7 +3363,7 @@ if test "$_fluidsynth" = yes ; then
esac
INCLUDES="$INCLUDES $FLUIDSYNTH_CFLAGS"
fi
-define_in_config_h_if_yes "$_fluidsynth" 'USE_FLUIDSYNTH'
+define_in_config_if_yes "$_fluidsynth" 'USE_FLUIDSYNTH'
echo "$_fluidsynth"
#
diff --git a/ports.mk b/ports.mk
index 9a20331924..ed6781a1a9 100644
--- a/ports.mk
+++ b/ports.mk
@@ -96,6 +96,12 @@ ifdef USE_FLAC
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libFLAC.a
endif
+ifdef USE_FLUIDSYNTH
+OSX_STATIC_LIBS += \
+ -framework CoreAudio \
+ $(STATICLIBPATH)/lib/libfluidsynth.a
+endif
+
ifdef USE_MAD
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libmad.a
endif