[csw-maintainers] static libraries lib*.a in our packages

Dagobert Michelsen dam at opencsw.org
Wed Apr 8 22:38:43 CEST 2009


Hi Peter,

Am 08.04.2009 um 19:47 schrieb Peter FELECAN:
> I cannot recollect precisely if we already had this discussion. Phil  
> and
> me, we had an exchange on this subject and I would like to have the
> opinion of the other fellow maintainers as our point of view are not
> totally convergent.
>
> The questions are:
>
> 1. Is a good practice for CSW packages to contain library archives of
>   the form lib*.a when we deliver dynamic libraries lib*.so ?
>
> 2. What's the potential usage for such libraries?
>
> 3. Which mechanism do you use for not building (e.g. ./configure
>   --disable-static) or to post-install (in the sense of after make  
> install)
>   remove them.

You can skip the build like you described. Additionally, GAR skips  
static
libraries per default during the merge phase (copying stuff from the
install-*/ to pkgroot/). If you want static libs you must set
   MERGE_EXCLUDE_STATICLIBS =      (nothing)
The use of special rules is discouraged.


Best regards

   -- Dago



More information about the maintainers mailing list