]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Fix tst-nss-files-alias-truncated for default --as-needed linking
authorFlorian Weimer <fweimer@redhat.com>
Thu, 14 Mar 2019 14:02:52 +0000 (15:02 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 14 Mar 2019 14:38:00 +0000 (15:38 +0100)
commit081bdf942126b7d4a368d09438a06fd831c14dad
tree0443315f5c94d1b07bb59c29c6c1ac61beb4712a
parent97f8225d22ef727ae9935cc231643efdc430d530
nss: Fix tst-nss-files-alias-truncated for default --as-needed linking

Linking to the NSS module directly does not work if the linker defaults
to --as-needed because it will remove the apparently unused DSO
reference and not generate a DT_NEEDED entry.  Use an explicit dlopen
call, like in the other chroot tests involving NSS modules.
ChangeLog
nss/Makefile
nss/tst-nss-files-alias-truncated.c