This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Desired feature


On Thu, Dec 04, 2003 at 08:49:04AM +0000, Gary V. Vaughan wrote:
> 
> It would be great to have `LT_LDFLAGS = -module', rather than 15 lines of
> `foo_LDFLAGS = -module' in a future m4 Makefile.am :-)

Regarding M4: last time I checked you had a directory dedicated to
modules.  Why don't you simply use AM_LDFLAGS = -module in this
directory?

More generally I think adding an LT_LDFLAGS variable is not a
solution, because some day Bob will come and say "Now I need a global
LDFLAGS variable for standard libtool libraries, and another different
LDFLAGS for libtool modules; not being able to distinguish these two
sets of libraries is an extremely annoying (magnitude 42 on Richter's
scale) misfeature of Automake."

Maybe we need a way to apply flags to groups of files, and tying flags
to dir_PRIMARY variables (as in bin_PROGRAMS_LDFLAGS) would be an
option.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]