[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crypto/gc: fix link error with --with-libgcrypt
From: |
Bruno Haible |
Subject: |
Re: crypto/gc: fix link error with --with-libgcrypt |
Date: |
Sat, 24 Aug 2019 14:28:59 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-157-generic; KDE/5.18.0; x86_64; ; ) |
> A gnulib testdir created through
>
> ./gnulib-tool --create-testdir --dir=../testdir1 --single-configure
> crypto/gc-md5
>
> when built with
>
> ./configure --with-libgcrypt && make
>
> fails with
Similar link errors also exist for crypto/gc-md2, crypto/gc-md4,
crypto/gc-rijndael, and they are not fixed through the previous patch.
This patch is necessary too:
2019-08-24 Bruno Haible <address@hidden>
crypto/gc-{md[24],rijndael} tests: Fix link error with --with-libgcrypt.
* modules/crypto/gc-md2-tests (test_gc_md2_LDADD): New variable.
* modules/crypto/gc-md4-tests (test_gc_md4_LDADD): New variable.
* modules/crypto/gc-rijndael-tests (test_gc_rijndael_LDADD): New
variable.
diff --git a/modules/crypto/gc-md2-tests b/modules/crypto/gc-md2-tests
index 759d3d5..74ccdf0 100644
--- a/modules/crypto/gc-md2-tests
+++ b/modules/crypto/gc-md2-tests
@@ -8,3 +8,4 @@ configure.ac:
Makefile.am:
TESTS += test-gc-md2
check_PROGRAMS += test-gc-md2
+test_gc_md2_LDADD = $(LDADD) @LIB_CRYPTO@
diff --git a/modules/crypto/gc-md4-tests b/modules/crypto/gc-md4-tests
index c6bd64a..b2a4ce1 100644
--- a/modules/crypto/gc-md4-tests
+++ b/modules/crypto/gc-md4-tests
@@ -8,3 +8,4 @@ configure.ac:
Makefile.am:
TESTS += test-gc-md4
check_PROGRAMS += test-gc-md4
+test_gc_md4_LDADD = $(LDADD) @LIB_CRYPTO@
diff --git a/modules/crypto/gc-rijndael-tests b/modules/crypto/gc-rijndael-tests
index 1bf2433..c7aaee2 100644
--- a/modules/crypto/gc-rijndael-tests
+++ b/modules/crypto/gc-rijndael-tests
@@ -8,3 +8,4 @@ configure.ac:
Makefile.am:
TESTS += test-gc-rijndael
check_PROGRAMS += test-gc-rijndael
+test_gc_rijndael_LDADD = $(LDADD) @LIB_CRYPTO@