aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-03-30 03:44:26 +0000
committerTravis Howell2009-03-30 03:44:26 +0000
commit30473e313d8e4513a11dd29ea353db297d5223b4 (patch)
treed3ebc4277ee5614511c1639b876dc08445272134
parent6c6f95afe98e1b1624e0215ea8e99cee0c77fbfa (diff)
downloadscummvm-rg350-30473e313d8e4513a11dd29ea353db297d5223b4.tar.gz
scummvm-rg350-30473e313d8e4513a11dd29ea353db297d5223b4.tar.bz2
scummvm-rg350-30473e313d8e4513a11dd29ea353db297d5223b4.zip
Fluidsynth requires additional libraries, for mingw build.
svn-id: r39749
-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'