Adjusting the Makefile to use the shared library

Pierre-Yves Chibon pingou at pingoured.fr
Tue Jul 17 15:03:05 PDT 2012


On Tue, 2012-07-17 at 09:58 -0700, Linus Torvalds wrote:
> On Tue, Jul 17, 2012 at 5:02 AM, Pierre-Yves Chibon <pingou at pingoured.fr> wrote:
> > Hi,
> >
> > While building the rpm I noticed that subsurface builds against the
> > static library of libdivecomputer.
> 
> On purpose.
> 
> Shared libraries only make sense IF YOU CAN SHARE THEM.
> 
> Since I don't know of a single other relevant project that uses
> libdivecomputer that subsurface would realistically share with on
> Linux, why would you use shared libraries?
[...]
> With a static link, you have a binary that actually works whether
> libdivecomputer has been installed or not. That's a good thing.

Does this hold true in the context of a RPM ?


Thanks for your feedback, I will adjust the RPM accordingly and generate
the -static subpackage.

Regards,
Pierre


More information about the subsurface mailing list