diff options
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b0ec7efe5..2fe20f48d 100644 --- a/configure.ac +++ b/configure.ac @@ -278,8 +278,9 @@ case "$host_os" in if test "$SYS" = "mingw32"; then WIN32_CPPFLAGS='-I$(top_srcdir)/win32/include' LIBS="-lwinmm -lwsock32 $LIBS" - GOOM_LIBS="-liberty" LDFLAGS="-Wl,--enable-stdcall-fixup $LDFLAGS" + dnl iberty has been needed only in older versions + AC_CHECK_LIB(iberty, strncomp, [GOOM_LIBS="-liberty"]) fi LDFLAGS="-no-undefined $LDFLAGS" ;; |