Bruno Haible wrote: >> * Bruno Haible wrote on Sat, Mar 20, 2010 at 11:52:25PM CET: >> > lib-ignore: Determine different options for different compilers. >> > * m4/lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Set a variable which >> > depends on the current language (C/C++/Fortran). Don't set LDFLAGS. >> > Add comments. >> > (_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS): New macro. >> > * NEWS: Mention the change. > > I've committed this patch now, including Ralf's comments about libtool, below. > > Jim, for coreutils, I propose this patch: > > ============================================================================= > 2010-03-28 Bruno Haible <br...@clisp.org> > > Update after change in gnulib's lib-ignore module. > * src/Makefile.am (AM_LDFLAGS): New variable. > > --- src/Makefile.am.orig Sun Mar 28 11:31:05 2010 > +++ src/Makefile.am Sun Mar 28 11:30:27 2010 > @@ -170,6 +170,9 @@ > noinst_LIBRARIES = libver.a > nodist_libver_a_SOURCES = version.c version.h > > +# Tell the linker to omit references to unused shared libraries. > +AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
Thanks, Bruno. I've pushed that, along with the analogous one to grep, now that both projects are using updated gnulib.