[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared and static library names differ



On Mon, Jan 20, 2014 at 1:40 AM, Roman Valov wrote:

> The problem is that on unix systems cmake generates shared
> library with name libglfw.so.3 (libglfw.so intented to be put
> into -dev package) and static library is built with api version
> in its name: libglfw3.a

Sounds like a bug that should be fixed upstream, please send them a patch.

> Library source provides template for .pc file which is substituted
> with built library name according to selected type of library. Thus
> it refers to 'glfw' or 'glfw3' library respectively and cannot be
> used interchangeably.

Icky.

> What is the best way to handle this? Is it okay to drop static library
> from -dev package?

I think use/shipping of static libraries in Debian isn't a good idea
and would discourage shipping any static libraries at all.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: