Eric Blake <[EMAIL PROTECTED]> wrote: ... > And indeed, there can be circular dependencies. I tested the same m4 setup on > mingw. If libtests.a is listed first, progname.o is not included. But if it > is listed second only, then gl_array_list.o generates a missing link to > xmalloc > and friends. The only solution is repeating the LDADD. I'm committing the > following: > > From: Eric Blake <[EMAIL PROTECTED]> > Date: Mon, 10 Dec 2007 09:54:54 -0700 > Subject: [PATCH] Avoid link failures with separate libtests.a. > > * gnulib-tool (func_emit_tests_Makefile_am): Also list local_ldadd > last, to satisfy circular dependencies.
Good catch. Thanks for dealing with it.