summaryrefslogtreecommitdiff
path: root/recipes/python/python_2.6.2.bb
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2010-01-22 00:50:27 +0300
committerSergey Lapin <slapin@ossfans.org>2010-01-22 00:50:27 +0300
commit029e21c8111deafa850ad1724e48da29c321f2f8 (patch)
tree00c9ad7db155d3f3fe471517d5d882b517f9ccfd /recipes/python/python_2.6.2.bb
parent8e099432e6b3687bc97f756aa7176b02cb1c7693 (diff)
parentb6f9a84fd99c89ac074aaed90cdd3d064c534492 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python/python_2.6.2.bb')
-rw-r--r--recipes/python/python_2.6.2.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/python/python_2.6.2.bb b/recipes/python/python_2.6.2.bb
index c367ce87c5..647f420dc7 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"
@@ -68,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() {
@@ -84,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}