Re: crypto/gc: fix link error with --with-libgcrypt

2019-08-24 Thread Bruno Haible
> 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 t

crypto/gc: fix link error with --with-libgcrypt

2019-08-24 Thread Bruno Haible
ndefined reference to `gcry_md_read' collect2: error: ld returned 1 exit status Makefile:2673: recipe for target 'test-gc-md5' failed make[4]: *** [test-gc-md5] Error 1 Similarly for crypto/gc-sha1, crypto/gc-md2, crypto/gc-md4, crypto/gc-rijndael, and crypto/gc-sm3. This patch fixe