diff options
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile index 0369249..c9a5200 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -60,6 +60,11 @@ tests = test-netdb test-digits-dots tst-nss-getpwent bug17079 \ tst-nss-test5 xtests = bug-erange +# Tests which need libdl +ifeq (yes,$(build-shared)) +tests += tst-nss-files-hosts-erange +endif + # If we have a thread library then we can test cancellation against # some routines like getpwuid_r. ifeq (yes,$(have-thread-library)) @@ -156,3 +161,5 @@ $(patsubst %,$(objpfx)%.out,$(tests)) : \ ifeq (yes,$(have-thread-library)) $(objpfx)tst-cancel-getpwuid_r: $(shared-thread-library) endif + +$(objpfx)tst-nss-files-hosts-erange: $(libdl) |