summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-10 00:16:48 +0200
committerFrantišek Dvořák <valtri@civ.zcu.cz>2010-10-10 00:16:48 +0200
commitf7c8cb03d7327ec2813d1010d9c477e8def8fa5e (patch)
treefc8181e1ab8ac008d7e7127276079656d8159462
parentcf95084098cfdaec04af435966a67089addbeb1d (diff)
downloadxine-lib-f7c8cb03d7327ec2813d1010d9c477e8def8fa5e.tar.gz
xine-lib-f7c8cb03d7327ec2813d1010d9c477e8def8fa5e.tar.bz2
Build goom with newer MinGW.
-rw-r--r--configure.ac3
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"
;;