diff options
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.9.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb index 803a1fc749..ae45577165 100644 --- a/meta/recipes-devtools/python/python_2.7.9.bb +++ b/meta/recipes-devtools/python/python_2.7.9.bb | |||
@@ -137,8 +137,10 @@ py_package_preprocess () { | |||
137 | # copy back the old Makefile to fix target package | 137 | # copy back the old Makefile to fix target package |
138 | install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile | 138 | install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile |
139 | 139 | ||
140 | # Remove references to buildmachine paths in target Makefile | 140 | # Remove references to buildmachine paths in target Makefile and _sysconfigdata |
141 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile | 141 | sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ |
142 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile \ | ||
143 | ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py | ||
142 | } | 144 | } |
143 | 145 | ||
144 | require python-${PYTHON_MAJMIN}-manifest.inc | 146 | require python-${PYTHON_MAJMIN}-manifest.inc |