libpeas fails to build with Python 3.8
Currently on Fedora we are testing Python 3.8 and libpeas fails to build from source. This is due to libpeas not linking anymore to libpython.
From python 3.8 changelog [0]:
On Unix, C extensions are no longer linked to libpython except on Android and Cygwin. It is now possible for a statically linked Python to load a C extension built using a shared library Python.
To embed Python into an application, a new --embed option must be passed to python3-config --libs --embed to get -lpython3.8 (link the application to libpython). To support both 3.8 and older, try python3-config --libs --embed first and fallback to python3-config --libs (without --embed) if the previous command fails.
[0] https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
Full build log attached.build.log.gz