This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix linking ldconfig when --enable-static-nss (with ChangeLog)
On Thu, Mar 22, 2012 at 11:12 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> +ifeq ($(build-static-nss),yes)
>> +o-objects.o += $(addsuffix .o,$(libnss_files-routines))
>> +o-objects.op += $(addsuffix .op,$(libnss_files-routines))
>
> Why fiddle with these "internal" variables rather than just adding
> to static-only-routines?
I just tried that, but the build failed (and libc.a did not have any of
the libnss_files objects).
AFAICT, $(static-only-routines) is used to filter stuff out of libc.so,
but *not* to add anything to libc.a.
Thanks,
--
Paul Pluzhnikov