From c2c688dfa02115cfc91ccd82d977e12b80677803 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:42:05 +0200 Subject: [PATCH] Debugging --- recipes/boost/all/conanfile.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/recipes/boost/all/conanfile.py b/recipes/boost/all/conanfile.py index 102ec643991a1..72a9a32bf53ef 100644 --- a/recipes/boost/all/conanfile.py +++ b/recipes/boost/all/conanfile.py @@ -2035,12 +2035,11 @@ def filter_transform_module_libraries(names): self.cpp_info.components[f"numpy{pyversion.major}{pyversion.minor}"].requires = ["numpy"] - if not self.options.get_safe("without_process") and self.settings.os == "Windows": - self.cpp_info.components["process"].system_libs.extend(["ntdll", "shell32", "Advapi32", "user32"]) + if not self.options.get_safe("without_process"): + if self.settings.os == "Windows": + self.cpp_info.components["process"].system_libs.extend(["ntdll", "shell32", "Advapi32", "user32"]) if self._shared: - self.cpp_info.components["process"].defines.append("BOOST_PROCESS_DYN_LINK") - else: - self.cpp_info.components["process"].defines.append("BOOST_PROCESS_STATIC_LINK") + self.cpp_info.components["process"].defines.append("BOOST_PROCESS_SOURCE") if is_msvc(self) or self._is_clang_cl: