summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-05-09 04:19:48 +0200
committerBruno Haible <bruno@clisp.org>2021-05-09 04:19:48 +0200
commit4e1475874cc6c65763fe8f26ac6b10ae7198f7bb (patch)
tree3885ea7c95fbb9204319559a4a98a5c39fb40cde
parent7cc8d8aa0db12119d6d88af430238c24361afc4e (diff)
downloadgnulib-4e1475874cc6c65763fe8f26ac6b10ae7198f7bb.tar.gz
gnulib-4e1475874cc6c65763fe8f26ac6b10ae7198f7bb.tar.bz2
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.
-rw-r--r--ChangeLog8
-rw-r--r--modules/posix_spawn_file_actions_addchdir-tests1
-rw-r--r--modules/posix_spawn_file_actions_addfchdir-tests1
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ac69a08c8..e0ce4406fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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).
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

Return to:

Send suggestions and report system problems to the System administrator.