Subject: Re: [boost] preprocess operation problems
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-01-28 18:21:50
On 01/28/2015 11:18 AM, Peter Dimov wrote:
>> This can be considered a bug in the part of Boost.Build that is
>> responsible for the header links, but if it is, I don't know how or
>> whether it should be fixed.
> Looking at tools/build/src/tools/link.jam:228:
> rule do-file-link
> the hardlink and the copy cases introduce a dependency with DEPENDS
> $(target) : $(source), and the symbolic link case does not. Maybe it
> should be changed to also introduce a dependency? Anyone familiar with
> Boost.Build care to comment?
I think you are correct. Adding this dependency
should fix this specific problem. It will cause
the symlink to be recreated when it's already
correct in some obscure cases, but there's nothing
currently around that would trigger this and it's
fairly harmless anyway.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk