diff options
| -rw-r--r-- | meta/recipes-devtools/python/python.inc | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python/multilib.patch | 2 |
2 files changed, 7 insertions, 1 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' \ |
diff --git a/meta/recipes-devtools/python/python/multilib.patch b/meta/recipes-devtools/python/python/multilib.patch index 1116dd518e..d24bc15f01 100644 --- a/meta/recipes-devtools/python/python/multilib.patch +++ b/meta/recipes-devtools/python/python/multilib.patch | |||
| @@ -11,7 +11,7 @@ Index: Python-2.7.14/configure.ac | |||
| 11 | 11 | ||
| 12 | +AC_SUBST(LIB) | 12 | +AC_SUBST(LIB) |
| 13 | +AC_MSG_CHECKING(LIB) | 13 | +AC_MSG_CHECKING(LIB) |
| 14 | +LIB=`basename ${libdir}` | 14 | +LIB="SEDMELIBLEAF" |
| 15 | +AC_MSG_RESULT($LIB) | 15 | +AC_MSG_RESULT($LIB) |
| 16 | 16 | ||
| 17 | AC_SUBST(LIBRARY) | 17 | AC_SUBST(LIBRARY) |
