2
0
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:
Steven Watanabe
2018-08-21 10:45:18 -06:00
parent 898ddfa1b6
commit d11e3e4ef3

View File

@@ -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))