]> git.pld-linux.org Git - packages/dialog.git/blob - libtool.patch
- add --tag=CC to libtool invocations
[packages/dialog.git] / libtool.patch
1 --- dialog-1.1-20080819/aclocal.m4~     2007-07-04 22:37:45.000000000 +0300
2 +++ dialog-1.1-20080819/aclocal.m4      2009-07-20 01:59:52.548835437 +0300
3 @@ -3071,12 +3071,12 @@
4                 AC_MSG_ERROR(Cannot find libtool)
5         fi
6  ])dnl
7 -       LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
8 +       LIB_CREATE='${LIBTOOL} --mode=link --tag=CC ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
9         LIB_OBJECT='${OBJECTS:.o=.lo}'
10         LIB_SUFFIX=.la
11         LIB_CLEAN='${LIBTOOL} --mode=clean'
12 -       LIB_COMPILE='${LIBTOOL} --mode=compile'
13 -       LIB_LINK='${LIBTOOL} --mode=link ${CC} ${LIBTOOL_OPTS}'
14 +       LIB_COMPILE='${LIBTOOL} --mode=compile --tag=CC'
15 +       LIB_LINK='${LIBTOOL} --mode=link --tag=CC ${CC} ${LIBTOOL_OPTS}'
16         LIB_INSTALL='${LIBTOOL} --mode=install'
17         LIB_UNINSTALL='${LIBTOOL} --mode=uninstall'
18         LIB_PREP=:
19
20 the regeneration is fcked up (i wonder how did the upstream regenerates stuff) so patch the configure script too
21 --- dialog-1.1-20080819/configure~      2008-03-16 20:54:16.000000000 +0200
22 +++ dialog-1.1-20080819/configure       2009-07-20 02:26:24.085085686 +0300
23 @@ -7217,12 +7217,12 @@
24  echo "$as_me: error: Cannot find libtool" >&2;}
25     { (exit 1); exit 1; }; }
26         fi
27 -       LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
28 +       LIB_CREATE='${LIBTOOL} --mode=link --tag=CC ${CC} -rpath ${DESTDIR}${libdir} -version-info `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} -o'
29         LIB_OBJECT='${OBJECTS:.o=.lo}'
30         LIB_SUFFIX=.la
31         LIB_CLEAN='${LIBTOOL} --mode=clean'
32 -       LIB_COMPILE='${LIBTOOL} --mode=compile'
33 -       LIB_LINK='${LIBTOOL} --mode=link ${CC} ${LIBTOOL_OPTS}'
34 +       LIB_COMPILE='${LIBTOOL} --mode=compile --tag=CC'
35 +       LIB_LINK='${LIBTOOL} --mode=link --tag=CC ${CC} ${LIBTOOL_OPTS}'
36         LIB_INSTALL='${LIBTOOL} --mode=install'
37         LIB_UNINSTALL='${LIBTOOL} --mode=uninstall'
38         LIB_PREP=:
This page took 0.078976 seconds and 4 git commands to generate.