aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/boost/build/build.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-08 19:25:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-08 19:25:42 +0300
commit7309d2a3c776d764480e92567581c9cbce37edbc (patch)
treedfd38af6efe28ef1a534e10b43b2704e7daa84d6 /boost/build/build.py
parentcommon.cmake: CC_STATIC_RUNTIME=OFF implied if using dynamic Boost libs (diff)
downloadcmake-common-7309d2a3c776d764480e92567581c9cbce37edbc.tar.gz
cmake-common-7309d2a3c776d764480e92567581c9cbce37edbc.zip
fix PyLint-discovered bugs
Diffstat (limited to 'boost/build/build.py')
-rwxr-xr-xboost/build/build.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/boost/build/build.py b/boost/build/build.py
index 59f6f07..bfb204b 100755
--- a/boost/build/build.py
+++ b/boost/build/build.py
@@ -375,7 +375,7 @@ class BuildParameters:
params.append(self._build_dir(build_dir))
params.append(self._stagedir(platform, configuration))
params.append(self._link(link))
- params.append(self._runtime_link(link))
+ params.append(self._runtime_link(runtime_link))
params.append(self._address_model(platform))
params.append(self._variant(configuration))
params += self.b2_args
@@ -388,8 +388,7 @@ class BuildParameters:
def _stagedir(self, platform, configuration):
if _on_windows():
return self._windows_stagedir(platform)
- else:
- return self._unix_stagedir(platform, configuration)
+ return self._unix_stagedir(platform, configuration)
def _windows_stagedir(self, platform):
platform = str(platform)