Mercurial > mxe-octave
comparison src/exiv2-r2472.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 http://dev.exiv2.org/issues/767 | |
6 | |
7 Index: trunk/config/configure.ac | |
8 =================================================================== | |
9 --- trunk/config/configure.ac (revision 2471) | |
10 +++ trunk/config/configure.ac (revision 2472) | |
11 @@ -31,12 +31,6 @@ | |
12 AC_PROG_LN_S | |
13 AC_PROG_MAKE_SET | |
14 AC_CANONICAL_HOST | |
15 -# Add flag for DLL on Windows | |
16 -case "$host_os" in | |
17 -*mingw* | *cygwin*) | |
18 - LDFLAGS="$LDFLAGS -no-undefined" | |
19 - ;; | |
20 -esac | |
21 | |
22 # --------------------------------------------------------------------------- | |
23 # i18n support | |
24 @@ -204,6 +198,17 @@ | |
25 fi | |
26 AC_SUBST(EXV_LIB_STATIC) | |
27 | |
28 +# Add flag for DLL on Windows | |
29 +# | |
30 +# This must happen after all other configure checks, because | |
31 +# the "-no-undefined" flag is only for libtool and may not be | |
32 +# passed to GCC by accident. | |
33 +case "$host_os" in | |
34 +*mingw* | *cygwin*) | |
35 + LDFLAGS="$LDFLAGS -no-undefined" | |
36 + ;; | |
37 +esac | |
38 + | |
39 # --------------------------------------------------------------------------- | |
40 # Create output files. | |
41 # --------------------------------------------------------------------------- |