diff options
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.9.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.9.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb index 0031b8f453..7918550eae 100644 --- a/meta/recipes-devtools/python/python_2.7.9.bb +++ b/meta/recipes-devtools/python/python_2.7.9.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | require python.inc | 1 | require python.inc |
2 | DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib" | 2 | DEPENDS = "python-native libffi bzip2 db gdbm openssl readline sqlite3 zlib" |
3 | PR = "${INC_PR}" | 3 | PR = "${INC_PR}" |
4 | 4 | ||
5 | DISTRO_SRC_URI ?= "file://sitecustomize.py" | 5 | DISTRO_SRC_URI ?= "file://sitecustomize.py" |
@@ -32,6 +32,8 @@ S = "${WORKDIR}/Python-${PV}" | |||
32 | 32 | ||
33 | inherit autotools multilib_header python-dir pythonnative | 33 | inherit autotools multilib_header python-dir pythonnative |
34 | 34 | ||
35 | CONFIGUREOPTS += " --with-system-ffi " | ||
36 | |||
35 | # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources | 37 | # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources |
36 | #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :( | 38 | #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :( |
37 | TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__" | 39 | TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__" |