[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix test-getdate link error
From: |
Bruno Haible |
Subject: |
fix test-getdate link error |
Date: |
Thu, 9 Oct 2008 00:19:39 +0200 |
User-agent: |
KMail/1.5.4 |
Hi,
While testing coreutils-7.0 on Cygwin, test-getdate did not link:
gcc -std=gnu99 -g -O2 -Wl,--as-needed -o test-getdate.exe test-getdate.o
libtests.a ../lib/libcoreutils.a libtests.a
../lib/libcoreutils.a(xalloc-die.o): In function `xalloc_die':
/cygdrive/c/Export/gnuprog/coreutils-7.0/lib/xalloc-die.c:34: undefined
reference to `_libintl_gettext'
../lib/libcoreutils.a(error.o): In function `error_tail':
/cygdrive/c/Export/gnuprog/coreutils-7.0/lib/error.c:125: undefined reference
to `_libintl_gettext'
collect2: ld returned 1 exit status
This should fix it. Applied.
2008-10-08 Bruno Haible <address@hidden>
* modules/getdate-tests (test_getdata_LDADD): Add LIBINTL.
--- modules/getdate-tests.orig 2008-10-09 00:17:33.000000000 +0200
+++ modules/getdate-tests 2008-10-09 00:17:33.000000000 +0200
@@ -8,4 +8,4 @@
Makefile.am:
TESTS += test-getdate
check_PROGRAMS += test-getdate
-test_getdate_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
+test_getdate_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fix test-getdate link error,
Bruno Haible <=