2
0
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:
Vladimir Prus
2008-11-12 11:31:27 +00:00
parent f2de6515b3
commit 35e033e150

View File

@@ -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)
{