libuecc: not available in static builds

Fixes:
http://autobuild.buildroot.net/results/c0d/c0d91fc0fa28fda0ffd1c9a236bde5435222bcc0/

Unconditionally builds a shared library.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2015-11-19 11:17:48 +01:00
parent de5bfeac56
commit aadf19c9c3
2 changed files with 8 additions and 2 deletions

View file

@ -3,6 +3,7 @@ config BR2_PACKAGE_FASTD
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
depends on !BR2_STATIC_LIBS # libuecc
select BR2_PACKAGE_LIBUECC
select BR2_PACKAGE_LIBSODIUM
select BR2_PACKAGE_LIBCAP
@ -22,7 +23,8 @@ config BR2_PACKAGE_FASTD_STATUS_SOCKET
endif
comment "fastd needs a toolchain w/ threads, headers >= 3.0"
comment "fastd needs a toolchain w/ threads, headers >= 3.0, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|| BR2_STATIC_LIBS

View file

@ -1,6 +1,10 @@
config BR2_PACKAGE_LIBUECC
bool "libuecc"
depends on !BR2_STATIC_LIBS
help
Very small Elliptic Curve Cryptography library
http://git.universe-factory.net/libuecc
comment "libuecc needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS