diff options
-rw-r--r-- | nss/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile index bccf9f2806..757446f80a 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -189,3 +189,11 @@ endif $(objpfx)tst-nss-files-alias-leak.out: $(objpfx)/libnss_files.so $(objpfx)tst-nss-files-alias-truncated.out: $(objpfx)/libnss_files.so + +# Disable DT_RUNPATH on NSS tests so that the glibc internal NSS +# functions can load testing NSS modules via DT_RPATH. +LDFLAGS-tst-nss-test1 = -Wl,--disable-new-dtags +LDFLAGS-tst-nss-test2 = -Wl,--disable-new-dtags +LDFLAGS-tst-nss-test3 = -Wl,--disable-new-dtags +LDFLAGS-tst-nss-test4 = -Wl,--disable-new-dtags +LDFLAGS-tst-nss-test5 = -Wl,--disable-new-dtags |