[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lchmod-tests: Fix link error
From: |
Bruno Haible |
Subject: |
lchmod-tests: Fix link error |
Date: |
Sun, 10 Jan 2021 23:07:22 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
In a testdir of the 'lchmod' module, I get this error:
gcc -g -O2 -o test-lchmod test-lchmod.o libtests.a ../gllib/libgnu.a
libtests.a ../gllib/libgnu.a libtests.a @LIBINTL@
gcc: error: @LIBINTL@: No such file or directory
make[4]: *** [Makefile:2563: test-lchmod] Error 1
This patch fixes it.
2021-01-10 Bruno Haible <bruno@clisp.org>
lchmod-tests: Fix link error.
* modules/lchmod-tests (Makefile.am): Don't assume that LIBINTL is set.
diff --git a/modules/lchmod-tests b/modules/lchmod-tests
index cbb2537..446b2d9 100644
--- a/modules/lchmod-tests
+++ b/modules/lchmod-tests
@@ -10,4 +10,4 @@ configure.ac:
Makefile.am:
TESTS += test-lchmod
check_PROGRAMS += test-lchmod
-test_lchmod_LDADD = $(LDADD) @LIBINTL@
+test_lchmod_LDADD = $(LDADD) $(LIBINTL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lchmod-tests: Fix link error,
Bruno Haible <=