On Monday 28 May 2001 9:56 am, Mats Lidell wrote:
> Hi,
>
> I'm trying to build one library from sourcode in multiple sub
> directories. (You could see it as getting one single library from a
> package big enough to be split in many directories.) Somehow I got the
> impression that I could get support from libtool and build one library
> in each subdir and then get libtool to merge them into on
> library. Perhaps during install.
>
> I have tried it but so far I have only come up with the idea of using
> a convenience library that explicitly states each subdir library. This
> means I have to export, eg install, each subdir library as well as the
> convenience library.
Don't install the convenience libraries, link against the uninstalled
versions. Libtool will copy the contents of the convenience libraries into
the shared library that references them.
> Does libtool support what I outline above? If not what approach do you
> suggest?
Yes it does.
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool