From 3fc40328d8d04c7c02b6e74c140f9be3b1b1c5a4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 23 Aug 2009 23:00:36 +0200 Subject: [PATCH] Avoid test link errors when the modules getopt-gnu, gettext are used. --- ChangeLog | 6 ++++++ modules/getopt-posix-tests | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index f9f9013cb..80d97a956 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-08-23 Bruno Haible + 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 . + +2009-08-23 Bruno Haible + Fix getdtablesize() on mingw. * lib/getdtablesize.c (getdtablesize): Implement differently. * lib/unistd.in.h (getdtablesize): Improve comment. diff --git a/modules/getopt-posix-tests b/modules/getopt-posix-tests index 8f01220a3..ac4b96561 100644 --- a/modules/getopt-posix-tests +++ b/modules/getopt-posix-tests @@ -12,3 +12,4 @@ configure.ac: Makefile.am: TESTS += test-getopt check_PROGRAMS += test-getopt +test_getopt_LDADD = $(LDADD) $(LIBINTL) -- 2.11.0