> 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 <[email protected]> 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@
