From bb0e8081902696e183299bb2ec809e4dc6e2d263 Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Fri, 3 Feb 2023 02:06:33 +0100 Subject: [PATCH] (#15550) fix: use correct OS check for settings_build when calling b2 or bcp exe * fix: use correct OS check for settings_build when calling b2 or bcp exe * Apply suggestions from code review fix: apply suggestions Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> --------- Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com> --- recipes/boost/all/conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/boost/all/conanfile.py b/recipes/boost/all/conanfile.py index 4f9bb32f663189..5848ee28a85da3 100644 --- a/recipes/boost/all/conanfile.py +++ b/recipes/boost/all/conanfile.py @@ -774,12 +774,12 @@ def _clean(self): @property def _b2_exe(self): - return "b2.exe" if self._settings_build == "Windows" else "b2" + return "b2" @property def _bcp_exe(self): folder = os.path.join(self.source_folder, "dist", "bin") - return os.path.join(folder, "bcp.exe" if self._settings_build == "Windows" else "bcp") + return os.path.join(folder, "bcp") @property def _use_bcp(self):