From 7561e64ee35bc557815e918c80dd7f89d2ad41a7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 4 Jan 2019 20:31:18 +0100 Subject: [PATCH] Fix link errors in unit tests. Reported by Tom G. Christensen . * modules/bitset-tests (Makefile.am): Link test-bitset against libintl. * modules/array-map-tests (Makefile.am): Link test-array_map against libintl. * modules/array-set-tests (Makefile.am): Link test-array_set against libintl. * modules/hash-map-tests (Makefile.am): Link test-hash_map against libintl. * modules/hash-set-tests (Makefile.am): Link test-hash_set against libintl. * modules/linkedhash-map-tests (Makefile.am): Link test-linkedhash_map against libintl. * modules/linkedhash-set-tests (Makefile.am): Link test-linkedhash_set against libintl. --- ChangeLog | 18 ++++++++++++++++++ modules/array-map-tests | 1 + modules/array-set-tests | 1 + modules/bitset-tests | 1 + modules/hash-map-tests | 1 + modules/hash-set-tests | 1 + modules/linkedhash-map-tests | 1 + modules/linkedhash-set-tests | 1 + 8 files changed, 25 insertions(+) diff --git a/ChangeLog b/ChangeLog index ea2906449b..2844009e15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2019-01-04 Bruno Haible + + Fix link errors in unit tests. + Reported by Tom G. Christensen . + * modules/bitset-tests (Makefile.am): Link test-bitset against libintl. + * modules/array-map-tests (Makefile.am): Link test-array_map against + libintl. + * modules/array-set-tests (Makefile.am): Link test-array_set against + libintl. + * modules/hash-map-tests (Makefile.am): Link test-hash_map against + libintl. + * modules/hash-set-tests (Makefile.am): Link test-hash_set against + libintl. + * modules/linkedhash-map-tests (Makefile.am): Link test-linkedhash_map + against libintl. + * modules/linkedhash-set-tests (Makefile.am): Link test-linkedhash_set + against libintl. + 2019-01-04 Bruno Haible Fix incorrect 'Link' sections. diff --git a/modules/array-map-tests b/modules/array-map-tests index 7dbcd73874..15907eb6a0 100644 --- a/modules/array-map-tests +++ b/modules/array-map-tests @@ -12,3 +12,4 @@ configure.ac: Makefile.am: TESTS += test-array_map check_PROGRAMS += test-array_map +test_array_map_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/array-set-tests b/modules/array-set-tests index 13149f5b38..86b6aaab7a 100644 --- a/modules/array-set-tests +++ b/modules/array-set-tests @@ -12,3 +12,4 @@ configure.ac: Makefile.am: TESTS += test-array_set check_PROGRAMS += test-array_set +test_array_set_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/bitset-tests b/modules/bitset-tests index 4a7b8b32bb..f9a0f907d9 100644 --- a/modules/bitset-tests +++ b/modules/bitset-tests @@ -9,3 +9,4 @@ configure.ac: Makefile.am: TESTS += test-bitset check_PROGRAMS += test-bitset +test_bitset_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/hash-map-tests b/modules/hash-map-tests index 693a0262be..15540555b1 100644 --- a/modules/hash-map-tests +++ b/modules/hash-map-tests @@ -11,3 +11,4 @@ configure.ac: Makefile.am: TESTS += test-hash_map check_PROGRAMS += test-hash_map +test_hash_map_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/hash-set-tests b/modules/hash-set-tests index c98898c9bc..8da90f7b1f 100644 --- a/modules/hash-set-tests +++ b/modules/hash-set-tests @@ -11,3 +11,4 @@ configure.ac: Makefile.am: TESTS += test-hash_set check_PROGRAMS += test-hash_set +test_hash_set_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/linkedhash-map-tests b/modules/linkedhash-map-tests index a21dad3951..5b13ea14ae 100644 --- a/modules/linkedhash-map-tests +++ b/modules/linkedhash-map-tests @@ -11,3 +11,4 @@ configure.ac: Makefile.am: TESTS += test-linkedhash_map check_PROGRAMS += test-linkedhash_map +test_linkedhash_map_LDADD = $(LDADD) @LIBINTL@ diff --git a/modules/linkedhash-set-tests b/modules/linkedhash-set-tests index a22c9e0c3c..06c1cbaaf4 100644 --- a/modules/linkedhash-set-tests +++ b/modules/linkedhash-set-tests @@ -11,3 +11,4 @@ configure.ac: Makefile.am: TESTS += test-linkedhash_set check_PROGRAMS += test-linkedhash_set +test_linkedhash_set_LDADD = $(LDADD) @LIBINTL@ -- 2.39.5