[zeromq-dev] Missing Libs.private for static link

Philip Kovacs kovacsp3 at comcast.net
Tue Feb 28 00:34:56 CET 2012


* Steven McCoy <steven.mccoy at miru.hk> [2012-02-27 16:49:11 -0500]:

> On 27 February 2012 14:20, Philip Kovacs <kovacsp3 at comcast.net> wrote:
> 
> > The .private fields were introduced with pkg-config v0.20 (Oct 2005) and
> > are silently ignored in older versions.
> 
> 
> I wish they were but they are not, which is why they are not included in
> 0mq or OpenPGM.
> 
> I would recommend submitting a patch that generates the pkg-config file
> with or without the .private section dependent upon the platform capability.

For people who use pkg-config, I don't think it is completely unreasonable to require 
a version that's been around for nearly 7 years.  More people will benefit for being 
able to link statically using pkg-config --static than will be inconvenienced by using 
an ancient version of it.  I have never, ever seen any package that installs different 
versions of .pc files based on the version of pkg-config.  Source distributions require
that certain packages being installed and that certain minimum version levels be met.
Why should pkg-config be any different in that regard?

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120227/7ce48ee6/attachment.sig>


More information about the zeromq-dev mailing list