summaryrefslogtreecommitdiffstats
path: root/src/xine-lib-2-fix-no-undefined.patch
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2011-03-27 16:14:08 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2011-03-27 16:14:08 (GMT)
commitb1b338dc87c47e18e8a163e3e34ea7a7b9c07e94 (patch)
tree4657e47a4229f6a44019a75e4c6ea8ff4c77cc65 /src/xine-lib-2-fix-no-undefined.patch
parentd29806fbe30a2d0f6ecd064084bb6966dc22e116 (diff)
downloadmxe-b1b338dc87c47e18e8a163e3e34ea7a7b9c07e94.zip
mxe-b1b338dc87c47e18e8a163e3e34ea7a7b9c07e94.tar.gz
mxe-b1b338dc87c47e18e8a163e3e34ea7a7b9c07e94.tar.bz2
don't remove the "-no-undefined" flag, but provide clean bugfixes instead for packages exiv2 and xine-lib
Diffstat (limited to 'src/xine-lib-2-fix-no-undefined.patch')
-rw-r--r--src/xine-lib-2-fix-no-undefined.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/xine-lib-2-fix-no-undefined.patch b/src/xine-lib-2-fix-no-undefined.patch
new file mode 100644
index 0000000..4ff7729
--- /dev/null
+++ b/src/xine-lib-2-fix-no-undefined.patch
@@ -0,0 +1,38 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+This patch has been taken from:
+https://bugs.xine-project.org/show_bug.cgi?id=411
+
+diff --git a/configure.ac b/configure.ac
+index dc53a73..90f23a8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -281,7 +281,6 @@ case "$host_os" in
+ GOOM_LIBS="-liberty"
+ LDFLAGS="-Wl,--enable-stdcall-fixup $LDFLAGS"
+ fi
+- LDFLAGS="-no-undefined $LDFLAGS"
+ ;;
+ esac
+ AC_SUBST(GOOM_LIBS)
+@@ -2877,6 +2876,19 @@ mv -f libtool.tmp libtool
+ chmod +x libtool
+
+ dnl ---------------------------------------------
++dnl Libtool flag for Windows:
++dnl
++dnl The "-no-undefined" flag must be added after all other
++dnl configure checks, because it is only for libtool and
++dnl must not be passed to GCC by accident.
++dnl ---------------------------------------------
++case "$host_os" in
++ mingw* | cygwin*)
++ LDFLAGS="-no-undefined $LDFLAGS"
++ ;;
++esac
++
++dnl ---------------------------------------------
+ dnl Some infos:
+ dnl ---------------------------------------------
+