Re: [Boost-bugs] [Boost C++ Libraries] #1094: Finding the correct library to link (feature request for pkg-config support)h

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1094: Finding the correct library to link (feature request for pkg-config support)h
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-18 09:01:01


#1094: Finding the correct library to link (feature request for pkg-config
support)h
-----------------------------------------------+----------------------------
 Reporter: rleigh@… | Owner: vladimir_prus
     Type: Feature Requests | Status: new
Milestone: Boost 1.40.0 | Component: build
  Version: | Severity: Problem
 Keywords: pkg-config linking library naming |
-----------------------------------------------+----------------------------

Comment(by Braden McDaniel <braden@…>):

 Replying to [comment:11 vladimir_prus]:
> This, apparently, slipped by 1.39. And worse, I'm confused again.
>
> Steven, what name of .pc files do you want? should that be
 boost_program_options ? Also, do you expect `pkg-config
 boost_program_option` to always return, in essense,
 -lboost_program_options ?

 If that's the correct flag for linking, then yes.

 The way to support different variants with `pkg-config` would be to
 install different `.pc` files for each variant. Presumably those would be
 named using the same scheme that gets used for naming library variants.

 Those suffixes look like noise on single variant installations; however,
 the really important thing here is that there is a consistently used name
 for the "release" variant that is conventionally deployed. If there are a
 few odd letters hanging off the end, that's okay--as long the name gets
 used consistently. OTOH, getting that consistency may mean forgoing the
 variant suffix in the `.pc` file name. (In fact, the consistency of that
 name matters more than whether it actually refers to a consistent
 configuration of Boost.)

 And this is probably worth reading:
 http://err.no/personal/blog/2008/Mar/25

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1094#comment:13>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC