mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
Corrected a slight Boost Build project.module-name() rule defect causing it to not reuse its cached result value in some cases.
[SVN r80021]
This commit is contained in:
@@ -165,8 +165,8 @@ rule module-name ( jamfile-location )
|
||||
{
|
||||
# Root the path, so that locations are always unambiguous. Without this,
|
||||
# we can not decide if '../../exe/program1' and '.' are the same paths.
|
||||
jamfile-location = [ path.root $(jamfile-location) [ path.pwd ] ] ;
|
||||
.module.$(jamfile-location) = Jamfile<$(jamfile-location)> ;
|
||||
local normalized = [ path.root $(jamfile-location) [ path.pwd ] ] ;
|
||||
.module.$(jamfile-location) = Jamfile<$(normalized)> ;
|
||||
}
|
||||
return $(.module.$(jamfile-location)) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user