]> Savannah Git Hosting - gnulib.git/commitdiff
error, verror tests: Fix link error when the package uses libintl.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2023 19:30:15 +0000 (20:30 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Jan 2023 19:32:40 +0000 (20:32 +0100)
* modules/error-tests (Makefile.am): Link test-error with $(LIBINTL).
* modules/verror-tests (Makefile.am): Link test-verror with $(LIBINTL).

ChangeLog
modules/error-tests
modules/verror-tests

index c772fc920a2d932254a45466ccdfc70f87193cc8..fb467a3c1445e78001f7dcb287f2417c0980e0b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-14  Bruno Haible  <bruno@clisp.org>
+
+       error, verror tests: Fix link error when the package uses libintl.
+       * modules/error-tests (Makefile.am): Link test-error with $(LIBINTL).
+       * modules/verror-tests (Makefile.am): Link test-verror with $(LIBINTL).
+
 2023-01-13  Bruno Haible  <bruno@clisp.org>
 
        localename: Fix -Wtautological-pointer-compare warning in a better way.
index c0cef0f9b68e2ff3dec7a986847109c896072252..58369089e3e65af375d06589be6b5b83bdd96d04 100644 (file)
@@ -10,3 +10,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-error.sh
 check_PROGRAMS += test-error
+test_error_LDADD = $(LDADD) $(LIBINTL)
index e02309658a96b3b801e82ec9bd3dbe7968f0cb85..bd76d768c13616e8d4758759b75417a23c9c0c5b 100644 (file)
@@ -10,3 +10,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-verror.sh
 check_PROGRAMS += test-verror
+test_verror_LDADD = $(LDADD) $(LIBINTL)