Boost logo

Boost-Build :

Subject: Re: [Boost-build] .rc files cause problem for darwin toolset
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-09-02 09:33:09


Volodya,

Back in March, I reported a problem with .rc files on Macintosh, you
provided the patch below, and all was well. That was when Boost
1.38.0 was the current Boost version. Since then Boost 1.39.0 and
1.40.0 have come out, but the patch has not been included in either
one. Would you please merge this into the main-line code base so that
it comes out with Boost 1.41.0?

Thanks,

Ian

On Mar 2, 2009, at 1:49 AM, Vladimir Prus wrote:
> Ian Emmons wrote:
>> ========== bjam output ==========
>>
>> iemmons-l3:BBTestCase iemmons$ bjam -q toolset=darwin-4.0.1
>> variant=release
>> /Users/iemmons/dev/boost_1_38_0/tools/build/v2/tools/rc.jam:62: in
>> rc.compile.resource
>> warning: rulename compile.resource.$(rc-type) expands to empty string
>
> Ian,
> Does the following patch help?
>
> Thanks,
> Volodya
>
> Index: rc.jam
> ===================================================================
> --- rc.jam (revision 51259)
> +++ rc.jam (working copy)
> @@ -59,6 +59,7 @@
> rule compile.resource ( target : sources * : properties * )
> {
> local rc-type = [ on $(target) return $(.RC_TYPE) ] ;
> + rc-type ?= null ;
> compile.resource.$(rc-type) $(target) : $(sources[1]) ;
> }


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