[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: override LDFLAGS with debhelper 7



Hi,

On Sat, Feb 27, 2010 at 04:55:27PM +0100, Fathi Boudra wrote:

> However, there's some packages using another method:
> override_dh_auto_configure:
>     dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed"

> NOTE: this method doesn't work !

That depends on the autoconf version. Earlier versions require an
environment variable, later ones accept variables as arguments as well.

It might be an interesting idea to have debhelper work around old
configure scripts by exporting anything that looks like a variable
definition on the configure command line.

   Simon


Reply to: