diff options
author | Jérôme Pouiller <jezz@sysmic.org> | 2014-09-12 17:50:11 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-09-13 09:40:48 +0200 |
commit | 77cf5b5a71aa54039f4dbc509a1c7cb40aa04934 (patch) | |
tree | 90c7c1d0a41edec9fd93458859d75e4d263de1da /package/python/Config.in | |
parent | daf4820c8527c54dfbc44d4982ad04dff9650e04 (diff) | |
download | buildroot-77cf5b5a71aa54039f4dbc509a1c7cb40aa04934.tar.gz buildroot-77cf5b5a71aa54039f4dbc509a1c7cb40aa04934.zip |
libffi and python: need threads support
libffi depends on pthreads.
Python depends on libffi (it can provide a builtin libffi, but also depends on
pthreads). Thus this patch also disable Python support if toolchain is compiled
w/o treads support.
Fixes http://sysmic.org/~jezz/results/204099dd:
../src/closures.c:119:21: fatal error: pthread.h: No such file or directory
[Peter: fix comment dependencies, add python3]
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python/Config.in')
-rw-r--r-- | package/python/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/python/Config.in b/package/python/Config.in index a0c78c6788..8b27630d7c 100644 --- a/package/python/Config.in +++ b/package/python/Config.in @@ -3,15 +3,16 @@ config BR2_PACKAGE_PYTHON depends on BR2_USE_WCHAR # uses fork() depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS # libffi select BR2_PACKAGE_LIBFFI help The python language interpreter. http://www.python.org/ -comment "python needs a toolchain w/ wchar" +comment "python needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS if BR2_PACKAGE_PYTHON |