kumquat-buildroot/package/luvi/Config.in
Peter Korsgaard edc18ac932 libuv: needs NPTL
Fixes:
http://autobuild.buildroot.net/results/b81/b81583dea1bdf3777b2f2736c84fef90aa10f30b/
http://autobuild.buildroot.net/results/93f/93f1c4dcaa9a20ec62c547b839cd334ed1b5fbe4/
http://autobuild.buildroot.net/results/030/030ef0a9bd51a2c52d6026e0c1e383a9bdae3c4f/
http://autobuild.buildroot.net/results/fff/fff2098f707d9827ec5e1fd38fe742dd2b695ead/

libuv uses pthread_barrier_* functions, which aren't available with
linuxthreads.  Notice that libuv contains a local prototype for these
functions, so libuv is able to build and the error only triggers when
applications try to link against it.

Also propagate this dependency to the reverse deps of libuv.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-21 21:24:23 +01:00

31 lines
1.0 KiB
Plaintext

config BR2_PACKAGE_LUVI
bool "luvi"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
depends on BR2_USE_MMU # libuv
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_PACKAGE_LUAJIT
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LUV
help
A project in-between luv and luvit. The goal of this is to make
building luvit and derivatives much easier.
luvi extends LuaJIT with asynchronous I/O and several optional
modules to run Lua applications and build self-contained binaries
on systems that don't have a compiler.
The luvi core can be extended with several Lua modules by adding its
bundled Lua binding libraries. To get the Lua module...
* 'rex' select PCRE (BR2_PACKAGE_PCRE)
* 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL)
* 'zlib' select zlib (BR2_PACKAGE_ZLIB)
https://github.com/luvit/luvi
comment "luvi needs a toolchain w/ NPTL, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
depends on BR2_USE_MMU
comment "luvi needs LuaJIT"
depends on !BR2_PACKAGE_LUAJIT