summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-09-11 17:32:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 00:27:55 +0100
commit6f6b384799bf093fabac90230dcdef1541ea9c75 (patch)
treee24339255f75d5ad90e07b90381e9061532ceb9a
parentfd5b497cc8a2f9f93f732070123b073bfb6d2eca (diff)
downloadopenembedded-core-6f6b384799bf093fabac90230dcdef1541ea9c75.tar.gz
openembedded-core-6f6b384799bf093fabac90230dcdef1541ea9c75.tar.bz2
openembedded-core-6f6b384799bf093fabac90230dcdef1541ea9c75.zip
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 <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/python/python3_3.5.6.bb2
1 files changed, 1 insertions, 1 deletions
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