From 6f6b384799bf093fabac90230dcdef1541ea9c75 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 11 Sep 2018 17:32:21 +0100 Subject: [PATCH] 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 --- meta/recipes-devtools/python/python3_3.5.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.1