Skip to content

Commit

Permalink
BUILD: Fix statically compiling with libfluidsynth on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Aug 20, 2012
1 parent 23db3cd commit eccb555
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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"

#
Expand Down
6 changes: 6 additions & 0 deletions ports.mk
Expand Up @@ -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
Expand Down

0 comments on commit eccb555

Please sign in to comment.