summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r--meta/recipes-devtools/python/python.inc6
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
36do_configure_prepend() {
37 libdirleaf="$(echo ${libdir} | sed -e 's:${prefix}/::')"
38 sed -i -e "s:SEDMELIBLEAF:${libdirleaf}:g" \
39 ${S}/configure.ac
40}
41
36do_install_append () { 42do_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' \