Skip to content

Commit

Permalink
(#23632) botan: avoid configure.py failure when prefix path contains …
Browse files Browse the repository at this point in the history
…space

- avoid configure.py failure when prefix path contains space
- avoid the exception raised by platform.libc_ver() when python was installed by Windows Store
  • Loading branch information
pichi-router authored Jun 19, 2024
1 parent e0571e4 commit 3f6deea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/botan/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3f6deea

Please sign in to comment.