|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49697 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2008-11-12 06:31:28
Author: vladimir_prus
Date: 2008-11-12 06:31:27 EST (Wed, 12 Nov 2008)
New Revision: 49697
URL: http://svn.boost.org/trac/boost/changeset/49697
Log:
On Windows, use lowercased file suffix when determining the file
target.
Suggested by John Reid.
Text files modified:
trunk/tools/build/v2/build/type.jam | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/build/type.jam
==============================================================================
--- trunk/tools/build/v2/build/type.jam (original)
+++ trunk/tools/build/v2/build/type.jam 2008-11-12 06:31:27 EST (Wed, 12 Nov 2008)
@@ -13,7 +13,7 @@
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 @@
#
rule type ( filename )
{
+ if [ os.name ] in NT CYGWIN
+ {
+ filename = $(filename:L) ;
+ }
local type ;
while ! $(type) && $(filename:S)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk