aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'project/boost/build.py')
-rw-r--r--project/boost/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/boost/build.py b/project/boost/build.py
index c9081eb..6d2b897 100644
--- a/project/boost/build.py
+++ b/project/boost/build.py
@@ -22,7 +22,7 @@ import sys
import tempfile
from project.boost.directory import BoostDir
-from project.boost.toolchain import detect_toolchain
+from project.boost.toolchain import Toolchain
from project.configuration import Configuration
from project.linkage import Linkage
from project.platform import Platform
@@ -71,7 +71,7 @@ class BuildParameters:
def enum_b2_args(self):
with self._create_build_dir() as build_dir:
for platform in self.platforms:
- with detect_toolchain(platform, mingw=self.mingw) as toolchain:
+ with Toolchain.detect(platform, mingw=self.mingw) as toolchain:
for configuration in self.configurations:
for link, runtime_link in self._linkage_options():
yield self._build_params(build_dir, toolchain,