[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] set link flag for individual library
From: "Andrei Melnikov" <andy.melnikov () gmail ! com>
Date: 2006-06-30 5:28:39
Message-ID: 96735cc00606292228q3a28a09bsb737a5ed375c9363 () mail ! gmail ! com
[Download RAW message or body]
On 26/06/06, Chris Weed <chrisweed@gmail.com> wrote:
> Hi,
> In my library, I have a bunch of functions that get registered in a
> factory. They use a string to look them up.
> What I think happens is that since the linker doesn't know these are
> needed the symbols aren't extracted. Using a different build system I
> could just tell it to extract all the symbols for the library.
>
> I am guessing my next best option is to separate the files with
> registrations into a separate library and link the object files. Could
> I make whatever lib/exe that depends on this library link all of the
> object files directly?
Yes. You can use "alias" rule for this library instead of "lib" rule.
Andrey
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic