From 6985db4b6da04c01d84ef4842a958facc872293a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 14 Jan 2023 20:30:15 +0100 Subject: [PATCH] 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). --- ChangeLog | 6 ++++++ modules/error-tests | 1 + modules/verror-tests | 1 + 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index c772fc920a..fb467a3c14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-01-14 Bruno Haible + + 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 localename: Fix -Wtautological-pointer-compare warning in a better way. diff --git a/modules/error-tests b/modules/error-tests index c0cef0f9b6..58369089e3 100644 --- a/modules/error-tests +++ b/modules/error-tests @@ -10,3 +10,4 @@ configure.ac: Makefile.am: TESTS += test-error.sh check_PROGRAMS += test-error +test_error_LDADD = $(LDADD) $(LIBINTL) diff --git a/modules/verror-tests b/modules/verror-tests index e02309658a..bd76d768c1 100644 --- a/modules/verror-tests +++ b/modules/verror-tests @@ -10,3 +10,4 @@ configure.ac: Makefile.am: TESTS += test-verror.sh check_PROGRAMS += test-verror +test_verror_LDADD = $(LDADD) $(LIBINTL) -- 2.39.5