On Fri, Apr 08, 2011 at 05:24:10PM +0200, Julian Andres Klode wrote: > On Wed, Dec 09, 2009 at 09:11:06PM +0100, Kurt Roeckx wrote: > > On Mon, Dec 07, 2009 at 02:36:41PM +0100, Resul Cetin wrote: > > > Libtool is regenerated each time when running `autoreconf -fi` as you > > > must do > > > when you follow the stuff explained in > > > /usr/share/doc/autotools-dev/README.Debian.gz - this makes the patch > > > relative > > > useless as It wouldn't work when a new version of libtool is introduced. > > > So it > > > must be added in some way to libtool and not as patch to each package. > > > > > > > If you want me to apply a patch I need something that works on > > non-Debian systems too. Please see: > > http://bugs.debian.org/347650#65 > > Couldn't we make a compromise and build a libtool-debian package > that ships a patched version? This way, packages that have to > run autoreconf can just use dh-autoreconf without having too > care about libtool. That's especially useful for the GNOME > stack. > Even easier for you: Just drop a patch enabling -Wl,--as-needed into the package as: /usr/share/libtool/debian/ltmain-as-needed.patch
And dh-autoreconf applies it automatically on all ltmain.sh in the source tree. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
pgpGWPyxcYhf5.pgp
Description: PGP signature

