summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-01-04 20:31:18 +0100
committerBruno Haible <bruno@clisp.org>2019-01-04 20:31:28 +0100
commit7561e64ee35bc557815e918c80dd7f89d2ad41a7 (patch)
tree624d4451614eda72bb62654aac8f79a43af17871
parent6dd4f65372e2af01dfd886cfbfedc941ef6f17e1 (diff)
downloadgnulib-7561e64ee35bc557815e918c80dd7f89d2ad41a7.tar.gz
Fix link errors in unit tests.
Reported by Tom G. Christensen <tgc@jupiterrise.com>. * 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.
-rw-r--r--ChangeLog18
-rw-r--r--modules/array-map-tests1
-rw-r--r--modules/array-set-tests1
-rw-r--r--modules/bitset-tests1
-rw-r--r--modules/hash-map-tests1
-rw-r--r--modules/hash-set-tests1
-rw-r--r--modules/linkedhash-map-tests1
-rw-r--r--modules/linkedhash-set-tests1
8 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea2906449b..2844009e15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2019-01-04 Bruno Haible <bruno@clisp.org>
+ Fix link errors in unit tests.
+ Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+ * 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 <bruno@clisp.org>
+
Fix incorrect 'Link' sections.
* modules/regex (Link): Mention the link requirement of module 'lock'.
* modules/regex-tests (Makefile.am): Don't use LIB_PTHREAD.
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@