mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
On Windows, use lowercased file suffix when determining the file
target. Suggested by John Reid. [SVN r49697]
This commit is contained in:
@@ -13,7 +13,7 @@ import generators : * ;
|
||||
import project ;
|
||||
import property ;
|
||||
import scanner ;
|
||||
|
||||
import os ;
|
||||
|
||||
# The following import would create a circular dependency:
|
||||
# project -> project-root -> builtin -> type -> targets -> project
|
||||
@@ -378,6 +378,10 @@ local rule generated-target-ps ( ps : type : property-set )
|
||||
#
|
||||
rule type ( filename )
|
||||
{
|
||||
if [ os.name ] in NT CYGWIN
|
||||
{
|
||||
filename = $(filename:L) ;
|
||||
}
|
||||
local type ;
|
||||
while ! $(type) && $(filename:S)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user