libuecc: not available in static builds
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Nov 2015 10:17:48 +0000 (11:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Nov 2015 10:17:48 +0000 (11:17 +0100)
Fixes:
http://autobuild.buildroot.net/results/c0d/c0d91fc0fa28fda0ffd1c9a236bde5435222bcc0/

Unconditionally builds a shared library.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fastd/Config.in
package/libuecc/Config.in

index 4170ea10a8d5f20a249b72c79d67e956aa9ff565..f753ce481768bfa1663f55392e5b576ffc0c9b59 100644 (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
index 34bbea2d465c0a0c5457b38c22fdd536dc5f218d..b7cd0450fec2e4933471e0d58c86ea738d4461e5 100644 (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