required MinGW libs (Fluidsynth is always enabled)

This commit is contained in:
Wengier
2021-03-09 03:40:24 -05:00
committed by GitHub
parent 526a1befa4
commit da2aabec12

View File

@@ -1162,8 +1162,9 @@ dnl so SDL_net, fluidsynth and libslirp successfully link to them
if test x$enable_emscripten != xyes; then if test x$enable_emscripten != xyes; then
case "$host" in case "$host" in
*-*-cygwin* | *-*-mingw32*) *-*-cygwin* | *-*-mingw32*)
if test x$have_sdl_net = xyes -o x$enable_libfluidsynth = xyes -o x$have_slirp = xyes; then LIBS="$LIBS -lwsock32 -lws2_32 -liphlpapi -lshlwapi"
LIBS="$LIBS -lwsock32 -lws2_32 -lwinspool -lshlwapi -liphlpapi" if test x$enable_freetype = xyes; then
LIBS="$LIBS -lfreetype -lwinspool"
fi fi
;; ;;
esac esac