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/libffi | |
| 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/libffi')
| -rw-r--r-- | package/libffi/Config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libffi/Config.in b/package/libffi/Config.in index 7211f8fa79..6edf570baf 100644 --- a/package/libffi/Config.in +++ b/package/libffi/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBFFI bool "libffi" + depends on BR2_TOOLCHAIN_HAS_THREADS help The libffi library provides a portable, high level programming interface to various calling conventions. This @@ -7,3 +8,6 @@ config BR2_PACKAGE_LIBFFI interface description at run-time. http://sourceware.org/libffi/ + +comment "libffi needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS |

