From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: lchmod-tests: Fix link error
Date: Sun, 10 Jan 2021 23:07:22 +0100 [thread overview]
Message-ID: <11108630.bYqdRMT5mg@omega> (raw)
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)
reply other threads:[~2021-01-10 22:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11108630.bYqdRMT5mg@omega \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).