|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2007-12-11 14:46:20
Author: vladimir_prus
Date: 2007-12-11 14:46:19 EST (Tue, 11 Dec 2007)
New Revision: 41981
URL: http://svn.boost.org/trac/boost/changeset/41981
Log:
When searching for headers, ignore directories, just like gcc does.
Text files modified:
trunk/tools/build/v2/build/scanner.jam | 1 +
trunk/tools/build/v2/tools/builtin.jam | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/build/scanner.jam
==============================================================================
--- trunk/tools/build/v2/build/scanner.jam (original)
+++ trunk/tools/build/v2/build/scanner.jam 2007-12-11 14:46:19 EST (Tue, 11 Dec 2007)
@@ -79,6 +79,7 @@
NOCARE $(matches) ;
INCLUDES $(target) : $(matches) ;
SEARCH on $(matches) = $(target_path) $(self.includes:G=) ;
+ ISFILE $(matches) ;
scanner.propagate $(__name__) : $(matches) : $(target) ;
}
Modified: trunk/tools/build/v2/tools/builtin.jam
==============================================================================
--- trunk/tools/build/v2/tools/builtin.jam (original)
+++ trunk/tools/build/v2/tools/builtin.jam 2007-12-11 14:46:19 EST (Tue, 11 Dec 2007)
@@ -431,6 +431,8 @@
# Just propagate current scanner to includes, in a hope
# that includes do not change scanners.
scanner.propagate $(__name__) : $(angle) $(quoted) : $(target) ;
+
+ ISFILE $(angle) $(quoted) ;
}
}
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