|
Boost-Build : |
From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-02-11 14:16:47
Attached is a proposed patch to enable the builtin lib rule to correctly handle
lib foo : : <conditional>@source-list-generator ;
It's a simple one-liner in tools/builtin.jam.
Cheers,
Mark
cvs diff -u -- builtin.jam (in directory C:\CVSROOT\boost\tools\build\v2\tools\)
Index: builtin.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/builtin.jam,v
retrieving revision 1.185
diff -u -r1.185 builtin.jam
--- builtin.jam 10 Feb 2006 15:00:51 -0000 1.185
+++ builtin.jam 11 Feb 2006 18:51:22 -0000
@@ -404,7 +404,10 @@
local properties = [ $(property-set).raw ] ;
# Determine the needed target type
local actual-type ;
- if <search> in $(properties:G) || <name> in $(properties:G)
+ # <source>files can be generated by <conditional>@rule feature
+ # in which case we don't consider it a SEARCHED_LIB type.
+ if ! <source> in $(properties:G) &&
+ ( <search> in $(properties:G) || <name> in $(properties:G) )
{
actual-type = SEARCHED_LIB ;
}
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