changeset 8677:9d87ef053b9f

Fix link error on Cygwin.
author Bruno Haible <bruno@clisp.org>
date Thu, 12 Apr 2007 23:20:57 +0000
parents 001bd204f631
children b2dfadf7ffdc
files ChangeLog modules/iconv-tests modules/striconv-tests modules/striconveh-tests modules/striconveha-tests
diffstat 5 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-04-12  Bruno Haible  <bruno@clisp.org>
+
+	* modules/iconv-tests (test_iconv_LDADD): Mention -liconv after LDADD,
+	not before, since $(LDADD) often contains libgnu.a.
+	* modules/striconv-tests (test_striconv_LDADD): Likewise.
+	* modules/striconveh-tests (test_striconveh_LDADD): Likewise.
+	* modules/striconveha-tests (test_striconveha_LDADD): Likewise.
+	Needed on Cygwin.
+
 2007-04-12  Eric Blake  <ebb9@byu.net>
 
 	Work around glibc's failure to flush stdin on fclose.
--- a/modules/iconv-tests
+++ b/modules/iconv-tests
@@ -8,5 +8,5 @@
 Makefile.am:
 TESTS += test-iconv
 check_PROGRAMS += test-iconv
-test_iconv_LDADD = @LIBICONV@ $(LDADD)
+test_iconv_LDADD = $(LDADD) @LIBICONV@
 
--- a/modules/striconv-tests
+++ b/modules/striconv-tests
@@ -8,5 +8,5 @@
 Makefile.am:
 TESTS += test-striconv
 check_PROGRAMS += test-striconv
-test_striconv_LDADD = @LIBICONV@ $(LDADD)
+test_striconv_LDADD = $(LDADD) @LIBICONV@
 
--- a/modules/striconveh-tests
+++ b/modules/striconveh-tests
@@ -8,5 +8,5 @@
 Makefile.am:
 TESTS += test-striconveh
 check_PROGRAMS += test-striconveh
-test_striconveh_LDADD = @LIBICONV@ $(LDADD)
+test_striconveh_LDADD = $(LDADD) @LIBICONV@
 
--- a/modules/striconveha-tests
+++ b/modules/striconveha-tests
@@ -8,5 +8,5 @@
 Makefile.am:
 TESTS += test-striconveha
 check_PROGRAMS += test-striconveha
-test_striconveha_LDADD = @LIBICONV@ $(LDADD)
+test_striconveha_LDADD = $(LDADD) @LIBICONV@