|
Boost-Build : |
Subject: Re: [Boost-build] security: install rule links target in destination?
From: Roman Neuhauser (neuhauser+boost-build_at_[hidden])
Date: 2010-01-07 07:37:04
# ghost_at_[hidden] / 2010-01-06 22:07:08 +0300:
> 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.
> See:
>
> https://svn.boost.org/trac/boost/changeset/58775
> Let me know if this stops relinking for you -- it stops for me.
Indeed, works for me in r58786; an install-time linker failure is no
longer an issue.
> 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.
Thanks for the tip!
-- Roman Neuhauser
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk