comparison src/xine-lib-2-fix-no-undefined.patch @ 1709:b32558e52428

don't remove the "-no-undefined" flag, but provide clean bugfixes instead for packages exiv2 and xine-lib
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 27 Mar 2011 18:14:08 +0200
parents
children
comparison
equal deleted inserted replaced
1708:d3c23d0cf3f7 1709:b32558e52428
1 # This file is part of mingw-cross-env.
2 # See doc/index.html for further information.
3
4 This patch has been taken from:
5 https://bugs.xine-project.org/show_bug.cgi?id=411
6
7 diff --git a/configure.ac b/configure.ac
8 index dc53a73..90f23a8 100644
9 --- a/configure.ac
10 +++ b/configure.ac
11 @@ -281,7 +281,6 @@ case "$host_os" in
12 GOOM_LIBS="-liberty"
13 LDFLAGS="-Wl,--enable-stdcall-fixup $LDFLAGS"
14 fi
15 - LDFLAGS="-no-undefined $LDFLAGS"
16 ;;
17 esac
18 AC_SUBST(GOOM_LIBS)
19 @@ -2877,6 +2876,19 @@ mv -f libtool.tmp libtool
20 chmod +x libtool
21
22 dnl ---------------------------------------------
23 +dnl Libtool flag for Windows:
24 +dnl
25 +dnl The "-no-undefined" flag must be added after all other
26 +dnl configure checks, because it is only for libtool and
27 +dnl must not be passed to GCC by accident.
28 +dnl ---------------------------------------------
29 +case "$host_os" in
30 + mingw* | cygwin*)
31 + LDFLAGS="-no-undefined $LDFLAGS"
32 + ;;
33 +esac
34 +
35 +dnl ---------------------------------------------
36 dnl Some infos:
37 dnl ---------------------------------------------
38