diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-08 19:25:42 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-08 19:25:42 +0300 |
commit | 7309d2a3c776d764480e92567581c9cbce37edbc (patch) | |
tree | dfd38af6efe28ef1a534e10b43b2704e7daa84d6 /boost/build/build.py | |
parent | common.cmake: CC_STATIC_RUNTIME=OFF implied if using dynamic Boost libs (diff) | |
download | cmake-common-7309d2a3c776d764480e92567581c9cbce37edbc.tar.gz cmake-common-7309d2a3c776d764480e92567581c9cbce37edbc.zip |
fix PyLint-discovered bugs
Diffstat (limited to 'boost/build/build.py')
-rwxr-xr-x | boost/build/build.py | 5 |
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) |