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