aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/directory.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/boost/directory.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py
index 4da58a7..be633fe 100644
--- a/project/boost/directory.py
+++ b/project/boost/directory.py
@@ -33,7 +33,7 @@ class BoostDir:
def bootstrap(self, params):
with self._go():
- run([self._bootstrap_path()] + self._bootstrap_args(params.toolset_hint))
+ run([self._bootstrap_path()] + self._bootstrap_args(params.toolset_version))
def _b2(self, params):
for b2_params in params.enum_b2_args():
@@ -51,8 +51,8 @@ class BoostDir:
return f'bootstrap{ext}'
@staticmethod
- def _bootstrap_args(hint):
- toolset = Toolset.detect(hint)
+ def _bootstrap_args(toolset_version):
+ toolset = Toolset.detect(toolset_version)
if on_windows():
return toolset.bootstrap_bat_args()
return toolset.bootstrap_sh_args()