Currently the host architecture is used by Conan to determine which libwebp binary to download. This means that if the user is running 32-bit Python, building the CFFI extension will fail during linking (see https://github.com/anibali/pywebp/issues/30).
Here we attempt to detect this scenario and pass a custom setting to Conan. Note that Conan Center currently does not have any 32-bit binaries of libwebp available, so it will be built from source.
TODO
[x] Set up CI for 32-bit Python on a 64-bit host to test that this works.
Currently the host architecture is used by Conan to determine which libwebp binary to download. This means that if the user is running 32-bit Python, building the CFFI extension will fail during linking (see https://github.com/anibali/pywebp/issues/30).
Here we attempt to detect this scenario and pass a custom setting to Conan. Note that Conan Center currently does not have any 32-bit binaries of libwebp available, so it will be built from source.
TODO