[Fedora-packaging] Packaging thread safe version of libraries

Thomas Spura tomspur at fedoraproject.org
Fri Oct 28 23:34:14 UTC 2011


On Sat, 29 Oct 2011 00:48:53 +0200
Sergio Pascual wrote:

> So I was wondering if it's a good idea to compile the code twice and
> distribute two versions of the library, libcfitsio.so and
> libcfitsio-mt.so. This implies to distribute two pkg-config files,
> cfistio.pc and cfitsio-mt.pc
> 
> Are there any recommendations or good practices regarding this issue?

boost does that too, so having both libraries should be a good
practice.

Completely replacing the library with a thread safe version
would make the library slower, when using without threads. Don't know
if that's a big issue here?

	Tom


More information about the packaging mailing list