Fluidsynth requires additional libraries, for mingw build.

svn-id: r39749
This commit is contained in:
Travis Howell 2009-03-30 03:44:26 +00:00
parent 6c6f95afe9
commit 30473e313d

9
configure vendored
View file

@ -1731,7 +1731,14 @@ EOF
fi
if test "$_fluidsynth" = yes ; then
_def_fluidsynth='#define USE_FLUIDSYNTH'
LIBS="$LIBS $FLUIDSYNTH_LIBS -lfluidsynth"
case $_host_os in
mingw* | cygwin*)
LIBS="$LIBS $FLUIDSYNTH_LIBS -lfluidsynth -ldsound -lwinmm"
;;
*)
LIBS="$LIBS $FLUIDSYNTH_LIBS -lfluidsynth"
;;
esac
INCLUDES="$INCLUDES $FLUIDSYNTH_CFLAGS"
else
_def_fluidsynth='#undef USE_FLUIDSYNTH'