python-utils-r1.eclass: Fix PYTHON_LIBS for py3.8+
authorMichał Górny <mgorny@gentoo.org>
Thu, 27 Feb 2020 17:56:55 +0000 (18:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 19 Apr 2020 16:46:59 +0000 (18:46 +0200)
commitf78a7b2722aee8e229ae0de6a775e110cd0bb80b
tree7c5efe2d040fc831438bb564bfc34dc2b6f67eab
parent15e2368f1e8ba0a78f802c7b645a8de3f25e516b
python-utils-r1.eclass: Fix PYTHON_LIBS for py3.8+

Python 3.8+ provides two pkg-config files: python-3.8 for building
Python extensions and python-3.8-embed for embedding Python in other
programs.  The former no longer lists -lpython*, resulting in empty
PYTHON_LIBS.  Since our consumers are more likely to want it non-empty
if they already query it, switch to the latter file.

Closes: https://bugs.gentoo.org/718344
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-utils-r1.eclass