Skip to content

Commit

Permalink
Fix rc scanner not handling absolute paths correctly
Browse files Browse the repository at this point in the history
This applies the same change as 290e284 did for `cpp.jam`.

Fixes #420
  • Loading branch information
dimitry-unified-streaming committed Nov 19, 2024
1 parent 936cf31 commit 2dcc7e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tools/rc.jam
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,17 @@ class res-scanner : scanner
import path ;
import regex ;
import scanner ;
import toolset ;
import virtual-target ;

rule __init__ ( includes * )
{
scanner.__init__ ;
self.includes = $(includes) ;

# toolset.handle-flag-value is a bit of overkill, but it
# does correctly handle the topological sort of && separated
# include paths
self.includes = [ toolset.handle-flag-value <include> : $(includes) ] ;
}

rule pattern ( )
Expand Down

0 comments on commit 2dcc7e6

Please sign in to comment.