I've got an automake/libtool build system. I'm building two modules,
Foo.la and Bar.la. I need to be able to dlopen them both in separate
systems. Foo.la has a dependency on Bar.la, and I'd like to link them
together so I do:
Foo_la_LIBADD = $(top_builddir)/Bar.la
This appears to work OK when I do a "make", but when I do a "make install"
I get:
/usr/bin/ld: cannot find -lBar
collect2: ld returned 1 exit status
libtool: install: error: relink `Foo.la' with the above command before installing it
Any ideas? I suppose I could make a convenience library that they both
depend on, is this the only way?
Thanks,
Dale
--
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
[EMAIL PROTECTED]
http://www.cliftonlabs.com
pgp key available