NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / dirent-safer-tests
index 2bc9593..4ae8965 100644 (file)
@@ -4,9 +4,14 @@ tests/macros.h
 
 Depends-on:
 dup2
+opendir
+closedir
 
 configure.ac:
 
 Makefile.am:
 TESTS += test-dirent-safer
 check_PROGRAMS += test-dirent-safer
+# Link with libintl when needed. dirent-safer uses fdopendir if it is present,
+# and fdopendir indirectly depends on openat-die -> gettext-h.
+test_dirent_safer_LDADD = $(LDADD) $(LIBINTL)