diff --git a/build/jam/MiscRules b/build/jam/MiscRules index 95d7ce1818..8eea5ca2d8 100644 --- a/build/jam/MiscRules +++ b/build/jam/MiscRules @@ -186,7 +186,7 @@ rule RunCommandLine commandLine local i ; for i in $(commandLine) { # targets are marked by the ":" prefix - local target = [ Match :(.*) : $(i) ] ; + local target = [ Match ^:(.*) : $(i) ] ; if $(target) { targets += $(target) ; targetVarName = $(targetVarName)X ;