>>>>> "Erik" == Erik Hofman <[EMAIL PROTECTED]> writes:

Erik> Therefore I've added an ARFLAGS definition to automake.in (see the
Erik> patch) because at this time when setting program_AR = $(CXX) -ar -o
Erik> the resulting link line will be:

What version of automake are you using?

Erik> program_AR = $(CXX) -ar

I think this ought to override the default setting (which includes
"cru").  So this should work already.

Erik> -     &define_variable ($xlib . '_AR', '$(AR) cru');
Erik> +     &define_variable ($xlib . '_AR', '$(AR) $(ARFLAGS)');

This change supports my theory.  If you redefine the per-library _AR
setting, the "cru" won't be included -- this code is only run if the
per-library AR setting is not defined.

If it still fails for you, could you write a test case in the style of
the test suite that shows the problem?  Thanks.

Tom


Reply via email to