This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
linking dlopenable modules together
- From: Dale E Martin <dmartin at cliftonlabs dot com>
- To: automake at gnu dot org
- Date: Thu, 19 Feb 2004 15:37:08 -0500
- Subject: linking dlopenable modules together
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
dmartin@cliftonlabs.com
http://www.cliftonlabs.com
pgp key available