From 4e1475874cc6c65763fe8f26ac6b10ae7198f7bb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 May 2021 04:19:48 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ modules/posix_spawn_file_actions_addchdir-tests | 1 + modules/posix_spawn_file_actions_addfchdir-tests | 1 + 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0ac69a08c8..e0ce4406fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2021-05-08 Bruno Haible + + 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 Fix build when an older libunistring is installed (regr. 2020-02-23). diff --git a/modules/posix_spawn_file_actions_addchdir-tests b/modules/posix_spawn_file_actions_addchdir-tests index e554138815..d44b3f1e82 100644 --- a/modules/posix_spawn_file_actions_addchdir-tests +++ b/modules/posix_spawn_file_actions_addchdir-tests @@ -19,3 +19,4 @@ TESTS += \ check_PROGRAMS += \ test-posix_spawn_file_actions_addchdir \ test-posix_spawn-chdir +test_posix_spawn_chdir_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/posix_spawn_file_actions_addfchdir-tests b/modules/posix_spawn_file_actions_addfchdir-tests index 2f09934802..789a85d2e8 100644 --- a/modules/posix_spawn_file_actions_addfchdir-tests +++ b/modules/posix_spawn_file_actions_addfchdir-tests @@ -27,4 +27,5 @@ check_PROGRAMS += test-posix_spawn_file_actions_addfchdir if POSIX_SPAWN_PORTED TESTS += test-posix_spawn-fchdir check_PROGRAMS += test-posix_spawn-fchdir +test_posix_spawn_fchdir_LDADD = $(LDADD) @LIBINTL@ endif -- 2.39.5