libgcrypt/tests/Makefile.am patch

Moritz Schulte mo at g10code.com
Thu Jul 29 12:56:16 CEST 2004


At Tue, 27 Jul 2004 23:00:07 -0500 (CDT), Bob Friesenhahn wrote:

[I'm redirecting this thread to gcrypt-devel@, which seems to be more
appropriate to me]

Hello,

> Libgcrypt does not completely build under Solaris due to a missing
> Makefile.am library dependency.

I wonder wether this is the correct patch; after all, Libtool
libraries (*.la) should keep track of such library dependencies
themselves.

src/Makefile.am contains:

libgcrypt_la_DEPENDENCIES = ../cipher/libcipher.la ../mpi/libmpi.la \
	$(srcdir)/libgcrypt.vers

Therefore, linking against libgcrypt.la should imply linking against
libcipher.la and libmpi.la.  When speaking of libmpi.la: I also wonder
why, assuming that your dependencies are broken, you don't have to add
libmpi.la to the LDADD line as well.

Thanks,
Moritz



More information about the Gcrypt-devel mailing list