mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
Don't break other toolsets that inherit from msvc (such as clang-win). Refs #330.
This commit is contained in:
@@ -1077,6 +1077,11 @@ local rule set-setup-command ( targets * : properties * )
|
||||
if ! [ on $(targets) return $(.SETUP) ]
|
||||
{
|
||||
local setup-script = [ on $(targets) return $(.SETUP-SCRIPT) ] ;
|
||||
# If no setup script was given, then we don't need to do anything.
|
||||
if ! $(setup-script)
|
||||
{
|
||||
return ;
|
||||
}
|
||||
local setup-options = [ on $(targets) return $(.SETUP-OPTIONS) ] ;
|
||||
local key = .setup-command-$(setup-script:E=)-$(setup-options:E=) ;
|
||||
if ! $($(key))
|
||||
|
||||
Reference in New Issue
Block a user