mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
5676159aa5
Previously it relied on AX_PYTHON_DEVEL, which in turn executes python-config to get the build flags. However this does not work while cross compiling because we can't execute the python-config build for the target platform. To circumvent this problem the python build flags are now queried via pkgconfig, which has the drawback of not having some extra build flags, but they do not seem to be needed. I tested this patch with the termux build system and it build without their existing hack of injecting python after the configure step. I also tested non cross compile build on Arch Linux and it also still works. Fixes #851 |
||
---|---|---|
.. | ||
api.c | ||
api.h | ||
autocompleters.c | ||
autocompleters.h | ||
c_api.c | ||
c_api.h | ||
c_plugins.c | ||
c_plugins.h | ||
callbacks.c | ||
callbacks.h | ||
disco.c | ||
disco.h | ||
plugins.c | ||
plugins.h | ||
profapi.c | ||
profapi.h | ||
python_api.c | ||
python_api.h | ||
python_plugins.c | ||
python_plugins.h | ||
settings.c | ||
settings.h | ||
themes.c | ||
themes.h |