diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2018-04-16 15:00:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 13:28:04 +0100 |
commit | f03dccc7ecc053ea714dac8078b578b6f1a4e0dd (patch) | |
tree | ffdf97bc5f2e04e6e2d0724b49f2117e6995d263 /meta/recipes-devtools/python/python.inc | |
parent | 2c9c4a406a0fbb41b30a538806d2b48ce7b9d435 (diff) | |
download | poky-f03dccc7ecc053ea714dac8078b578b6f1a4e0dd.tar.gz |
python 2.7: fix multilib patch to accept multiarch style paths
Using 'basename' to strip the prefix fails when using multiarch style paths.
(From OE-Core rev: c61c416a6504f7e8885df3c94c839d1031920a1c)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r-- | meta/recipes-devtools/python/python.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc index 979b601bf1..84bcb6aa8a 100644 --- a/meta/recipes-devtools/python/python.inc +++ b/meta/recipes-devtools/python/python.inc | |||
@@ -33,6 +33,12 @@ EXTRA_OECONF = "\ | |||
33 | ${PYTHONLSBOPTS} \ | 33 | ${PYTHONLSBOPTS} \ |
34 | " | 34 | " |
35 | 35 | ||
36 | do_configure_prepend() { | ||
37 | libdirleaf="$(echo ${libdir} | sed -e 's:${prefix}/::')" | ||
38 | sed -i -e "s:SEDMELIBLEAF:${libdirleaf}:g" \ | ||
39 | ${S}/configure.ac | ||
40 | } | ||
41 | |||
36 | do_install_append () { | 42 | do_install_append () { |
37 | sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \ | 43 | sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \ |
38 | -e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \ | 44 | -e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \ |