[oe-commits] Kristoffer Ericson : fixed calling native binaries with host libraries

git version control git at git.openembedded.org
Wed Jan 13 00:00:35 UTC 2010


Module: openembedded.git
Branch: shr/merge
Commit: 562ac60eee09ef88220585f57a00226d986edb63
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=562ac60eee09ef88220585f57a00226d986edb63

Author: Kristoffer Ericson <kristoffer.ericson at gmail.com>
Date:   Tue Jan 12 21:31:06 2010 +0100

fixed calling native binaries with host libraries

Signed-off-by: Filip Zyzniewski <filip.zyzniewski at gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson at gmail.com>

---

 recipes/python/python_2.6.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb
index 2369a4b..647f420 100644
--- a/recipes/python/python_2.6.2.bb
+++ b/recipes/python/python_2.6.2.bb
@@ -69,7 +69,7 @@ do_compile() {
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
 		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-		OPT="${CFLAGS}"
+		RUNSHARED= OPT="${CFLAGS}"
 }
 
 do_stage() {
@@ -85,7 +85,7 @@ do_install() {
 		STAGING_LIBDIR=${STAGING_LIBDIR} \
 		STAGING_INCDIR=${STAGING_INCDIR} \
 		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-		DESTDIR=${D} LIBDIR=${libdir} install
+		DESTDIR=${D} LIBDIR=${libdir} RUNSHARED= install
 
 	install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
 





More information about the Openembedded-commits mailing list