This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]