[systemd-devel] [PATCH 3/6] nss-myhostname: integrate into systemd buildsystem

Lennart Poettering lennart at poettering.net
Mon Jan 7 11:18:54 PST 2013


On Mon, 07.01.13 19:47, Michael Biebl (mbiebl at gmail.com) wrote:

> 
> 2013/1/7 Lennart Poettering <lennart at poettering.net>:
> > Well, for the NSS modules .la files make particularly little sense as
> > nobody ever links against them except with dlopen() called from inside
> > libc. And naked dlopen() doesn't know .la files, hence we can just
> > unconditionally remove them.
> 
> Well, there is libltdl which ttbomk requires the .la files for dlopen.
> Not that this matters much for systemd, though.

libltdl doesn't need .la files really. And glibc's NSS interface doesn't
use libltdl anyway, so if we'd ship .la files for our NSS plugin really
nobody would ever use it because nobody but libc would try to dlopen()
it...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list