|
Boost-Build : |
Subject: Re: [Boost-build] .rc files cause problem for darwin toolset
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-03-02 01:49:47
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