summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarlo Bramini <carlo.bramix@libero.it>2008-09-17 10:57:35 +0100
committerCarlo Bramini <carlo.bramix@libero.it>2008-09-17 10:57:35 +0100
commit7bc49187618a5383e48b35e99f2a6f1e1be32d63 (patch)
treea39386dc827cced3cd7400e6f5e9c88d05effda0 /configure.ac
parentcad00d49e3344adbc7e8a67e3082dd8d35752a37 (diff)
downloadxine-lib-7bc49187618a5383e48b35e99f2a6f1e1be32d63.tar.gz
xine-lib-7bc49187618a5383e48b35e99f2a6f1e1be32d63.tar.bz2
Mingw+MSys: NLS support, --enable-stdcall-fixup
It was not possible to compile some parts of XINE-LIB with NLS enabled. It's also a good idea to explicitely enable --enable-stdcall-fixup for solving a huge amount of warnings. Attached patch fixes these problems.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fdbd1a739..beb344314 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,6 +263,7 @@ case "$host" in
WIN32_CPPFLAGS='-I$(top_srcdir)/win32/include'
LIBS="-lwinmm -lwsock32 $LIBS"
GOOM_LIBS="-liberty"
+ LDFLAGS="-Wl,--enable-stdcall-fixup $LDFLAGS"
fi
LDFLAGS="-no-undefined $LDFLAGS"
;;