Mercurial > mxe-octave
annotate 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 |
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 http://dev.exiv2.org/issues/767 |
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 Index: trunk/config/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 =================================================================== |
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 --- trunk/config/configure.ac (revision 2471) |
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 +++ trunk/config/configure.ac (revision 2472) |
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 @@ -31,12 +31,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
|
12 AC_PROG_LN_S |
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 AC_PROG_MAKE_SET |
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 AC_CANONICAL_HOST |
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 -# Add flag for DLL on 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
|
16 -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
|
17 -*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
|
18 - LDFLAGS="$LDFLAGS -no-undefined" |
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 - ;; |
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 -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
|
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 # --------------------------------------------------------------------------- |
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 # i18n support |
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 @@ -204,6 +198,17 @@ |
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 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
|
26 AC_SUBST(EXV_LIB_STATIC) |
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 |
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 +# Add flag for DLL on 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
|
29 +# |
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 +# This must happen after all other configure checks, because |
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 +# the "-no-undefined" flag is only for libtool and may not be |
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 +# 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
|
33 +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
|
34 +*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
|
35 + LDFLAGS="$LDFLAGS -no-undefined" |
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 + ;; |
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 +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
|
38 + |
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
|
39 # --------------------------------------------------------------------------- |
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
|
40 # Create output files. |
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
|
41 # --------------------------------------------------------------------------- |