changeset 11884:0c06eef5cb3b

Avoid test link errors when the modules getopt-gnu, gettext are used.
author Bruno Haible <bruno@clisp.org>
date Sun, 23 Aug 2009 23:00:36 +0200
parents 729b89da65db
children e61a5067af2f
files ChangeLog modules/getopt-posix-tests
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+	Avoid test link errors when the modules getopt-gnu, gettext are used.
+	* modules/getopt-posix-tests (Makefile.am): Define test_getopt_LDADD.
+	Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
 2009-08-23  Bruno Haible  <bruno@clisp.org>
 
 	Fix getdtablesize() on mingw.
--- a/modules/getopt-posix-tests
+++ b/modules/getopt-posix-tests
@@ -12,3 +12,4 @@
 Makefile.am:
 TESTS += test-getopt
 check_PROGRAMS += test-getopt
+test_getopt_LDADD = $(LDADD) $(LIBINTL)