From a7c752d20f6a2623470734a0054e078aea4400b4 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 17 Dec 2009 09:49:18 -0700 Subject: python: only dep on tk if tk is in DISTRO_FEATURES. Signed-off-by: Chris Larson --- recipes/python/python_2.6.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/python/python_2.6.2.bb') diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb index c367ce87c5..2369a4b324 100644 --- a/recipes/python/python_2.6.2.bb +++ b/recipes/python/python_2.6.2.bb @@ -1,5 +1,6 @@ require python.inc -DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib" +DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\ + ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" # set to .0 on every increase of INC_PR PR = "${INC_PR}.0" -- cgit v1.2.3 From 562ac60eee09ef88220585f57a00226d986edb63 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Tue, 12 Jan 2010 21:31:06 +0100 Subject: fixed calling native binaries with host libraries Signed-off-by: Filip Zyzniewski Signed-off-by: Kristoffer Ericson --- recipes/python/python_2.6.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/python/python_2.6.2.bb') diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb index 2369a4b324..647f420dc7 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} -- cgit v1.2.3