From eccb55570e3ed27276573b23093ffedcf3e794cc Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 19 Aug 2012 20:40:03 -0400 Subject: BUILD: Fix statically compiling with libfluidsynth on Mac OS X --- configure | 2 +- ports.mk | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3