diff options
| -rw-r--r-- | meta/recipes-devtools/python/python-native_2.6.6.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb b/meta/recipes-devtools/python/python-native_2.6.6.bb index 2b00d32364..e0a4fb36d9 100644 --- a/meta/recipes-devtools/python/python-native_2.6.6.bb +++ b/meta/recipes-devtools/python/python-native_2.6.6.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require python.inc | 1 | require python.inc |
| 2 | DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" | 2 | DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" |
| 3 | PR = "${INC_PR}.3" | 3 | PR = "${INC_PR}.4" |
| 4 | 4 | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6" |
| 6 | 6 | ||
| @@ -42,4 +42,7 @@ do_install() { | |||
| 42 | for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do | 42 | for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do |
| 43 | sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT | 43 | sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT |
| 44 | done | 44 | done |
| 45 | |||
| 46 | ln -sf python ${D}${bindir}/python2 | ||
| 47 | |||
| 45 | } | 48 | } |
