[patch] Fix linking ldconfig when --enable-static-nss (with ChangeLog)

Paul Pluzhnikov ppluzhnikov@google.com
Thu Mar 22 19:12:00 GMT 2012


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



More information about the Libc-alpha mailing list