Skip to content

Commit

Permalink
Fix boost recipe from crashing when host architecture is "wasm"
Browse files Browse the repository at this point in the history
  • Loading branch information
ovostrikov committed Jan 23, 2023
1 parent d6e2e52 commit 6e3b891
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 6e3b891

Please sign in to comment.