mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/libyang: fix build w/o threads
For building libyang a toolchain with thread support is needed. Add the dependancy to BR2_TOOLCHAIN_HAS_THREADS. Fixes: - http://autobuild.buildroot.net/results/1d84ff4aab67a98113d967b65467109e80bb5917 Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
ec48b624b7
commit
68f3e7c3b1
@@ -1,5 +1,6 @@
|
|||||||
config BR2_PACKAGE_LIBYANG
|
config BR2_PACKAGE_LIBYANG
|
||||||
bool "libyang"
|
bool "libyang"
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
select BR2_PACKAGE_PCRE
|
select BR2_PACKAGE_PCRE
|
||||||
select BR2_PACKAGE_PCRE_UCP
|
select BR2_PACKAGE_PCRE_UCP
|
||||||
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBYANG
|
|||||||
|
|
||||||
https://github.com/CESNET/libyang
|
https://github.com/CESNET/libyang
|
||||||
|
|
||||||
comment "libyang needs a toolchain w/ dynamic library"
|
comment "libyang needs a toolchain w/ threads, dynamic library"
|
||||||
depends on BR2_STATIC_LIBS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||||
|
|||||||
Reference in New Issue
Block a user