From: Bruno Haible Date: Sun, 9 May 2021 02:19:48 +0000 (+0200) Subject: Fix build error when libintl is installed. X-Git-Tag: v1.0~2906 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e1475874cc6c65763fe8f26ac6b10ae7198f7bb;p=thirdparty%2Fgnulib.git 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. --- 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