* modules/posix_spawn_file_actions_addchdir-tests (Makefile.am): Link
test-posix_spawn-chdir with libintl.
* modules/posix_spawn_file_actions_addfchdir-tests (Makefile.am): Link
test-posix_spawn-fchdir with libintl.
+2021-05-08 Bruno Haible <bruno@clisp.org>
+
+ Fix build error when libintl is installed.
+ * modules/posix_spawn_file_actions_addchdir-tests (Makefile.am): Link
+ test-posix_spawn-chdir with libintl.
+ * modules/posix_spawn_file_actions_addfchdir-tests (Makefile.am): Link
+ test-posix_spawn-fchdir with libintl.
+
2021-05-07 Bruno Haible <bruno@clisp.org>
Fix build when an older libunistring is installed (regr. 2020-02-23).
check_PROGRAMS += \
test-posix_spawn_file_actions_addchdir \
test-posix_spawn-chdir
+test_posix_spawn_chdir_LDADD = $(LDADD) @LIBINTL@
if POSIX_SPAWN_PORTED
TESTS += test-posix_spawn-fchdir
check_PROGRAMS += test-posix_spawn-fchdir
+test_posix_spawn_fchdir_LDADD = $(LDADD) @LIBINTL@
endif