changeset 12922:958a8b2b6f9e

Fix link error on platforms with GNU libiconv.
author Bruno Haible <bruno@clisp.org>
date Sun, 07 Mar 2010 20:41:43 +0100
parents 64fcd5e219fe
children cb00143b4bf6
files ChangeLog modules/unistr/u16-strcoll-tests modules/unistr/u32-strcoll-tests modules/unistr/u8-strcoll-tests
diffstat 4 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-03-07  Bruno Haible  <bruno@clisp.org>
+
+	Fix link error on platforms with GNU libiconv.
+	* modules/unistr/u8-strcoll-tests (Makefile): Define
+	test_u8_strcoll_LDADD.
+	* modules/unistr/u16-strcoll-tests (Makefile): Define
+	test_u16_strcoll_LDADD.
+	* modules/unistr/u32-strcoll-tests (Makefile): Define
+	test_u32_strcoll_LDADD.
+
 2010-03-07  Bruno Haible  <bruno@clisp.org>
 
 	Use POSIX declarations for socket functions.
--- a/modules/unistr/u16-strcoll-tests
+++ b/modules/unistr/u16-strcoll-tests
@@ -12,3 +12,4 @@
 TESTS += test-u16-strcoll
 check_PROGRAMS += test-u16-strcoll
 test_u16_strcoll_SOURCES = unistr/test-u16-strcoll.c
+test_u16_strcoll_LDADD = $(LDADD) @LIBICONV@
--- a/modules/unistr/u32-strcoll-tests
+++ b/modules/unistr/u32-strcoll-tests
@@ -12,3 +12,4 @@
 TESTS += test-u32-strcoll
 check_PROGRAMS += test-u32-strcoll
 test_u32_strcoll_SOURCES = unistr/test-u32-strcoll.c
+test_u32_strcoll_LDADD = $(LDADD) @LIBICONV@
--- a/modules/unistr/u8-strcoll-tests
+++ b/modules/unistr/u8-strcoll-tests
@@ -12,3 +12,4 @@
 TESTS += test-u8-strcoll
 check_PROGRAMS += test-u8-strcoll
 test_u8_strcoll_SOURCES = unistr/test-u8-strcoll.c
+test_u8_strcoll_LDADD = $(LDADD) @LIBICONV@