Skip to content

Commit

Permalink
(conan-io#15449) Fix boost recipe from crashing when host architectur…
Browse files Browse the repository at this point in the history
…e is "wasm"
  • Loading branch information
ovostrikov authored and sabelka committed Feb 12, 2023
1 parent be469fe commit a6ba5cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,8 @@ def package_info(self):
if abi:
libsuffix_data["abi"] = f"-{abi}"

libsuffix_data["arch"] = f"-{self._b2_architecture[0]}{self._b2_address_model}"
if self._b2_architecture:
libsuffix_data["arch"] = f"-{self._b2_architecture[0]}{self._b2_address_model}"
version = Version(self.version)
if not version.patch or version.patch == "0":
libsuffix_data["version"] = f"-{version.major}_{version.minor}"
Expand Down

0 comments on commit a6ba5cc

Please sign in to comment.