diff --git a/recipes/botan/all/conanfile.py b/recipes/botan/all/conanfile.py index 0507c7c130b52..082f448005d3f 100644 --- a/recipes/botan/all/conanfile.py +++ b/recipes/botan/all/conanfile.py @@ -457,7 +457,7 @@ def _configure_cmd(self): ' --extra-cxxflags="{cxxflags}"' ' --cc={compiler}' ' --cpu={cpu}' - ' --prefix={prefix}' + ' --prefix="{prefix}"' ' --os={os}' ' {build_flags}').format( python_call=call_python, @@ -516,6 +516,8 @@ def _is_glibc_older_than_2_25_on_linux(self): # https://github.com/conan-io/conan-center-index/pull/18079#issuecomment-1919206949 # https://github.com/conan-io/conan-center-index/pull/18079#issuecomment-1919486839 + if self.settings.os != 'Linux': + return False libver = platform.libc_ver() return ( self.settings.os == 'Linux' and