aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 220f0c07c4..56e91847b6 100755
--- a/configure
+++ b/configure
@@ -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'