Sam Varshavchik wrote:
My source tree builds two libraries, from two separate directories in the source tree.

libxtls.la gets linked against libx.la in a different directory, as well as some system libraries in /usr/local/lib. Makefile.am declares thusly:

libxtls_la_LIBADD=../base/libx.la
libxtls_la_LDFLAGS=-version-info 1 $(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread
libtool use LDFLAGS before LIBADD as result paths form LDFLAGS will be used first.

Move "$(GNUTLS_LIBS) $(GCRYPT_LIBS) -lpthread"  to LIBADD adn try again.

Roumen


_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to