Boost logo

Boost-Build :

Subject: Re: [Boost-build] security: install rule links target in destination?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-01-06 14:07:08

On Thursday 24 December 2009 06:09:44 Roman Neuhauser wrote:

> I changed the rule to
> exe maildirs
> : maildirs.cpp bfs
> : <include>/usr/local/include
> <hardcode-dll-paths>false
> ;
> but see no change in behavior. Can you please point out my mistake?

It appears that in fact, the code unconditionally relinks on Unix.
Sorry for confusing matters -- I was sure the code only relinks as
necessary. Anyway, it is true in SVN trunk, as of revision 58775.

Also, please specify hardcode-dll-paths using project requirements:

        project : requirements <hardcode-dll-paths>false ;

this will make sure it will apply to every target in your project.

Let me know if this stops relinking for you -- it stops for me.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at