Skip to content

Commit

Permalink
Fix rc scanner not handling absolute paths correctly (#425)
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 authored Nov 19, 2024
1 parent 936cf31 commit a463914
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 a463914

Please sign in to comment.