From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] python-2.7.2: fix build issues when additional modules are linked against host or native libpython instead of target
Date: Sat, 29 Oct 2011 22:22:15 +0200 [thread overview]
Message-ID: <1319919735-2962-1-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <20111029202108.GH12609@jama.jama.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/python/python_2.7.2.bb | 1 +
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 af14adb..defe9c1 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() {
install -m 0644 Makefile Makefile.orig
sed -i -e 's,${includedir},${STAGING_INCDIR},' Makefile
sed -i -e 's,${libdir},${STAGING_LIBDIR},' Makefile
+ sed -i -e 's,LDFLAGS=,LDFLAGS=-L.,' Makefile
install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
# save copy of it now, because if we do it in do_install and
# then call do_install twice we get Makefile.orig == Makefile.sysroot
--
1.7.7.1
next prev parent reply other threads:[~2011-10-29 20:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 23:06 [review/test 0/5] Python upgrade and other commits nitin.a.kamble
2011-10-13 23:06 ` [review/test 1/5] x86 tune files: set baselib for x32 tune as libx32 nitin.a.kamble
2011-10-13 23:06 ` [review/test 2/5] python-dbus: upgrade from 0.83.2 to 0.84.0 nitin.a.kamble
2011-10-13 23:06 ` [review/test 3/5] python, python-native: upgrade from 2.6.6 to 2.7.2 nitin.a.kamble
2011-10-14 8:19 ` Martin Jansa
2011-10-14 9:11 ` Martin Jansa
2011-10-14 12:03 ` Kamble, Nitin A
2011-10-22 23:54 ` Kamble, Nitin A
2011-10-23 6:28 ` Martin Jansa
2011-10-24 0:07 ` Kamble, Nitin A
2011-10-24 6:05 ` Martin Jansa
2011-10-29 20:21 ` Martin Jansa
2011-10-29 20:22 ` Martin Jansa [this message]
2011-10-30 7:33 ` [PATCHv2] python-2.7.2: fix build issues when additional modules are linked against host or native libpython instead of target Martin Jansa
2011-10-23 6:53 ` [review/test 3/5] python, python-native: upgrade from 2.6.6 to 2.7.2 Koen Kooi
2011-10-15 13:05 ` Martin Jansa
2011-10-13 23:06 ` [review/test 4/5] python: update generate-manifest for 2.7 version and regenerate it nitin.a.kamble
2011-10-13 23:06 ` [review/test 5/5] update python 2.7 manifest nitin.a.kamble
2011-10-14 3:33 ` [review/test 0/5] Python upgrade and other commits Kamble, Nitin A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1319919735-2962-1-git-send-email-Martin.Jansa@gmail.com \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox