From: Ross Burton Date: Tue, 11 Sep 2018 16:32:21 +0000 (+0100) Subject: python3: don't hard-code version in python-config X-Git-Tag: uninative-2.3~322 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6f6b384799bf093fabac90230dcdef1541ea9c75;p=openembedded-core.git python3: don't hard-code version in python-config Use variables instead of hard-coding to remove another variation between releases. Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/python/python3_3.5.6.bb b/meta/recipes-devtools/python/python3_3.5.6.bb index 2d8fa1adb7..605ea6abfe 100644 --- a/meta/recipes-devtools/python/python3_3.5.6.bb +++ b/meta/recipes-devtools/python/python3_3.5.6.bb @@ -211,7 +211,7 @@ py_package_preprocess () { -c "from py_compile import compile; compile('./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py', optimize=2)" cd - - mv ${PKGD}/${bindir}/python3.5m-config ${PKGD}/${bindir}/python3.5m-config-${MULTILIB_SUFFIX} + mv ${PKGD}/${bindir}/python${PYTHON_BINABI}-config ${PKGD}/${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX} } # manual dependency additions