Mercurial > mxe-octave
view 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 |
line wrap: on
line source
# 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 ---------------------------------------------