77cf5b5a71
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>
14 lines
423 B
Plaintext
14 lines
423 B
Plaintext
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
|
|
allows a programmer to call any function specified by a call
|
|
interface description at run-time.
|
|
|
|
http://sourceware.org/libffi/
|
|
|
|
comment "libffi needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|