mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2c9c4a406a
commit
f03dccc7ec
@@ -33,6 +33,12 @@ EXTRA_OECONF = "\
|
||||
${PYTHONLSBOPTS} \
|
||||
"
|
||||
|
||||
do_configure_prepend() {
|
||||
libdirleaf="$(echo ${libdir} | sed -e 's:${prefix}/::')"
|
||||
sed -i -e "s:SEDMELIBLEAF:${libdirleaf}:g" \
|
||||
${S}/configure.ac
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
|
||||
-e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \
|
||||
|
||||
Reference in New Issue
Block a user