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: lucaceresoli/bug-15201-perf-libtraceevent-missing~16664 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f6b384799bf093fabac90230dcdef1541ea9c75;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 2d8fa1adb73..605ea6abfe7 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