[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tests failing to build with external getttext
From: |
Bruno Haible |
Subject: |
Re: Tests failing to build with external getttext |
Date: |
Sun, 23 Aug 2009 23:02:42 +0200 |
User-agent: |
KMail/1.9.9 |
Tom G. Christensen wrote on 2009-08-14:
> Unfortunately another one just turned up:
> gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib
> -Wl,-z,ignore
> -o test-getopt test-getopt.o ../gllib/libgnu.a -lm
> Undefined first referenced
> symbol in file
> libintl_gettext ../gllib/libgnu.a(getopt.o)
I reproduce it by compiling
./gnulib-tool --create-testdir --dir=... --with-tests getopt-gnu gettext
on a MacOS X machine that has GNU libintl installed. This fixes it. Thanks.
2009-08-23 Bruno Haible <address@hidden>
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 <address@hidden>.
*** modules/getopt-posix-tests.orig 2009-08-23 22:59:30.000000000 +0200
--- modules/getopt-posix-tests 2009-08-23 22:58:09.000000000 +0200
***************
*** 12,14 ****
--- 12,15 ----
Makefile.am:
TESTS += test-getopt
check_PROGRAMS += test-getopt
+ test_getopt_LDADD = $(LDADD) $(LIBINTL)