diff options
author | 2015-11-08 09:44:45 +0100 | |
---|---|---|
committer | 2015-11-11 11:21:51 +0100 | |
commit | e9dd39803ff5de5e28185f3adf841aa8d552b45d (patch) | |
tree | 82c984c73e83cf58ecaa9de01c385744f0126b08 /dev-libs/libpeas/libpeas-1.12.1-r1.ebuild | |
parent | python-utils-r1.eclass: Reuse PYTHON_CONFIG in python_wrapper_setup() (diff) | |
download | gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.tar.gz gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.tar.bz2 gentoo-e9dd39803ff5de5e28185f3adf841aa8d552b45d.zip |
dev-libs/libpeas: Obtain correct python-config path
Use new python_get_PYTHON_CONFIG API to obtain the correct path to
python-config executable. This forward-fixes compatibility with
ABIFLAGS-enabled Python 3.* versions, and improves readability.
Diffstat (limited to 'dev-libs/libpeas/libpeas-1.12.1-r1.ebuild')
-rw-r--r-- | dev-libs/libpeas/libpeas-1.12.1-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild index 0ed2fe513b8c..96946d1fa850 100644 --- a/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild +++ b/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild @@ -55,7 +55,7 @@ src_configure() { "--enable-python${v}" # it is just 'PYTHON' for py3 in the build system "PYTHON${v#3}=${PYTHON}" - "PYTHON${v}_CONFIG=${PYTHON}-config" + "PYTHON${v}_CONFIG=$(python_get_PYTHON_CONFIG)" ) } use python && python_foreach_impl python_configure |