summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-29 22:10:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-31 22:03:21 +0000
commit6e1632946ca076fb9b8d29e4b75546c76ca09eaf (patch)
tree08cdd2c8e985e1e1544ae6b9b38cb1af0d5a4776 /meta/recipes-devtools/python/python_2.7.2.bb
parentb1dd5dd273c102c6d0ca2de95554ad68e9a35aa0 (diff)
downloadpoky-6e1632946ca076fb9b8d29e4b75546c76ca09eaf.tar.gz
python-2.7.2: fix build issues when additional modules are linked against host or native libpython instead of target
* -L. is needed to find right libpython * -L${STAGING_LIBDIR} is needed ie for python-zlib to find right zlib (From OE-Core rev: dac48ff1192cd6e4d39aa6e1696e91336d371d97) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r--meta/recipes-devtools/python/python_2.7.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index af14adbbb3..45d8350376 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -51,6 +51,7 @@ do_compile() {
51 install -m 0644 Makefile Makefile.orig 51 install -m 0644 Makefile Makefile.orig
52 sed -i -e 's,${includedir},${STAGING_INCDIR},' Makefile 52 sed -i -e 's,${includedir},${STAGING_INCDIR},' Makefile
53 sed -i -e 's,${libdir},${STAGING_LIBDIR},' Makefile 53 sed -i -e 's,${libdir},${STAGING_LIBDIR},' Makefile
54 sed -i -e 's,LDFLAGS=,LDFLAGS=-L. -L${STAGING_LIBDIR},' Makefile
54 install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ 55 install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
55 # save copy of it now, because if we do it in do_install and 56 # save copy of it now, because if we do it in do_install and
56 # then call do_install twice we get Makefile.orig == Makefile.sysroot 57 # then call do_install twice we get Makefile.orig == Makefile.sysroot