On Sat, 4 Dec 2004, Akim Demaille wrote:
I'm not sure I understand how interlib deps are expected to work. In a project of mine, I have several directories containing libs. For instance, in the ast/ directory I have the following Makefile.am snippet:
noinst_LTLIBRARIES = libast.la libast_la_SOURCES = \ position.hh location.hh \ ... libast.hh libast.hxx libast.cc \ tasks.hh tasks.cc
and to have interlib dependency support, I report that this lib depends on three siblings: symbol, task, and misc:
libast_la_LDFLAGS = -L../symbol -lsymbol -L../task -ltask -L../misc -lmisc
It seems to me that you should be using LDADD rather than LDFLAGS here. If symbol and task are libtool libraries, then you would refer to them like:
libast_la_LIBADD=../symbol/libsymbol.la ../task/libtask.la \ ../misc/libmisc.la
Does that help?
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen
_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool