This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Statically linked binary & NSS
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Subject: Re: Statically linked binary & NSS
- From: Roland McGrath <roland@frob.com>
- Date: Wed, 2 Dec 1998 12:11:55 -0500
- cc: GNU libc hacker <libc-hacker@gnu.org>
Can we improve this situation? Can we provide an extra static library that
does the static-nss thing instead of making it a build option for libc?
Then someone would do `gcc -static foo.c -lnss_static -lnss_files' or whatever.
The idea is libnss_static.a would contain the static nss code.
(Ideally, they would be able to select which nss modules to use just by
adding the -lnss_foo's to the link; but that is not so important.)