From da2aabec126b192899bf71b8363ac72a875ae4fc Mon Sep 17 00:00:00 2001 From: Wengier Date: Tue, 9 Mar 2021 03:40:24 -0500 Subject: [PATCH] required MinGW libs (Fluidsynth is always enabled) --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6bb665b12..7448b3564 100644 --- a/configure.ac +++ b/configure.ac @@ -1162,8 +1162,9 @@ dnl so SDL_net, fluidsynth and libslirp successfully link to them if test x$enable_emscripten != xyes; then case "$host" in *-*-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 -lwinspool -lshlwapi -liphlpapi" + LIBS="$LIBS -lwsock32 -lws2_32 -liphlpapi -lshlwapi" + if test x$enable_freetype = xyes; then + LIBS="$LIBS -lfreetype -lwinspool" fi ;; esac