summaryrefslogtreecommitdiff
path: root/boostcpp.jam
diff options
context:
space:
mode:
authorJurko Gospodnetić <jurko.gospodnetic@pke.hr>2012-06-14 07:55:51 +0000
committerJurko Gospodnetić <jurko.gospodnetic@pke.hr>2012-06-14 07:55:51 +0000
commitdf9455da60ad71eed204351d337d628b8fe4db7b (patch)
tree699050e89c5d9a08def436ed4e30cc04780337f1 /boostcpp.jam
parente0a9e8ec23638613ed13db5fcd1f07716601fa53 (diff)
downloadboost-df9455da60ad71eed204351d337d628b8fe4db7b.tar.gz
Made Boost library build script's '--with-...' & '--without-...' parameter checking more strict so e.g. '--run--with--system' is not interpreted as one of those options.
[SVN r78935]
Diffstat (limited to 'boostcpp.jam')
-rw-r--r--boostcpp.jam8
1 files changed, 4 insertions, 4 deletions
diff --git a/boostcpp.jam b/boostcpp.jam
index 1839c5fa69..c652bf11ec 100644
--- a/boostcpp.jam
+++ b/boostcpp.jam
@@ -508,16 +508,16 @@ build-system.set-post-build-hook $(__name__).post-build ;
rule libraries-to-install ( existing-libs * )
{
local argv = [ modules.peek : ARGV ] ;
- local with-parameter = [ MATCH --with-(.*) : $(argv) ] ;
- local without-parameter = [ MATCH --without-(.*) : $(argv) ] ;
+ local with-parameter = [ MATCH ^--with-(.*) : $(argv) ] ;
+ local without-parameter = [ MATCH ^--without-(.*) : $(argv) ] ;
if ! $(with-parameter) && ! $(without-parameter)
{
# Nothing is specified on command line. See if maybe project-config.jam
# has some choices.
local libs = [ modules.peek project-config : libraries ] ;
- with-parameter = [ MATCH --with-(.*) : $(libs) ] ;
- without-parameter = [ MATCH --without-(.*) : $(libs) ] ;
+ with-parameter = [ MATCH ^--with-(.*) : $(libs) ] ;
+ without-parameter = [ MATCH ^--without-(.*) : $(libs) ] ;
}
# Do some checks.