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

Re: override LDFLAGS with debhelper 7



* Simon Richter <sjr@debian.org>, 2010-02-27, 17:12:
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.

No, that would be silly. There's already too much magic behind debhelper these days.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: