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]

Re: external dir objects to be included in shared lib


>>>>> "Sylvain" == Sylvain GIL <sylvain.gil@solsoft.fr> writes:

Sorry for the delay in the reply.
I took a break from automake for a while.

Sylvain> I'm looking for the good way to link objects found in
Sylvain> mylib/libmissing/ to the shared library created in
Sylvain> mylib/src/. I know building a static lib in libmissing and
Sylvain> linking it to my shared lib is the bad way to do it but is
Sylvain> there a better solution ?

Sylvain> Actually my mylib/src/Makefile.am contains the following
Sylvain> line, how can I precise I just want to link
Sylvain> ../src/libmissing/*.o instead ?

Sylvain> mylib_la_LIBADD = ../libmissing/libmissing.a

Your best bet for now is to use libtool convenience libraries.
See the libtool docs for more info.

Tom


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